Skip to content

Commit a1908d8

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent f30c1be commit a1908d8

File tree

3 files changed

+4206
-4186
lines changed

3 files changed

+4206
-4186
lines changed

c-api/buffer.po

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.7\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
22+
"POT-Creation-Date: 2019-07-18 02:57+0000\n"
2323
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
2424
"Last-Translator: tomo, 2018\n"
2525
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -656,15 +656,7 @@ msgstr ""
656656
":c:member:`~Py_buffer.strides` が *NULL* の場合は、配列は標準の n 次元 C 配列として解釈されます。\n"
657657
"そうでない場合は、利用者は次のように n 次元配列にアクセスしなければなりません:"
658658

659-
#: ../../c-api/buffer.rst:358
660-
msgid ""
661-
"``ptr = (char *)buf + indices[0] * strides[0] + ... + indices[n-1] * "
662-
"strides[n-1]`` ``item = *((typeof(item) *)ptr);``"
663-
msgstr ""
664-
"``ptr = (char *)buf + indices[0] * strides[0] + ... + indices[n-1] * "
665-
"strides[n-1]`` ``item = *((typeof(item) *)ptr);``"
666-
667-
#: ../../c-api/buffer.rst:362
659+
#: ../../c-api/buffer.rst:364
668660
msgid ""
669661
"As noted above, :c:member:`~Py_buffer.buf` can point to any location within "
670662
"the actual memory block. An exporter can check the validity of a buffer with"
@@ -673,11 +665,11 @@ msgstr ""
673665
"上記のように、 :c:member:`~Py_buffer.buf` "
674666
"はメモリブロック内のどの場所でも指すことが可能です。エクスポーターはこの関数を使用することによってバッファの妥当性を確認出来ます。"
675667

676-
#: ../../c-api/buffer.rst:396
668+
#: ../../c-api/buffer.rst:398
677669
msgid "PIL-style: shape, strides and suboffsets"
678670
msgstr "PIL スタイル: shape, strides, suboffsets"
679671

680-
#: ../../c-api/buffer.rst:398
672+
#: ../../c-api/buffer.rst:400
681673
msgid ""
682674
"In addition to the regular items, PIL-style arrays can contain pointers that"
683675
" must be followed in order to get to the next element in a dimension. For "
@@ -691,7 +683,7 @@ msgstr ""
691683
"例えば、通常の3次元 C 配列 ``char v[2][2][3]`` は、2次元配列への 2 つのポインタからなる配列 ``char (*v[2])[2][3]`` と見ることもできます。\n"
692684
"suboffset 表現では、これらの 2 つのポインタは :c:member:`~Py_buffer.buf` の先頭に埋め込め、メモリのどこにでも配置できる 2 つの ``char x[2][3]`` 配列を指します。"
693685

694-
#: ../../c-api/buffer.rst:407
686+
#: ../../c-api/buffer.rst:409
695687
msgid ""
696688
"Here is a function that returns a pointer to the element in an N-D array "
697689
"pointed to by an N-dimensional index when there are both non-NULL strides "
@@ -700,11 +692,11 @@ msgstr ""
700692
"次の例は、 strides も suboffsets も NULL でない場合の、N 次元インデックスによって指されている N "
701693
"次元配列内の要素へのポインタを返す関数です。 ::"
702694

703-
#: ../../c-api/buffer.rst:426
695+
#: ../../c-api/buffer.rst:428
704696
msgid "Buffer-related functions"
705697
msgstr "バッファ関連の関数"
706698

707-
#: ../../c-api/buffer.rst:430
699+
#: ../../c-api/buffer.rst:432
708700
msgid ""
709701
"Return ``1`` if *obj* supports the buffer interface otherwise ``0``. When "
710702
"``1`` is returned, it doesn't guarantee that :c:func:`PyObject_GetBuffer` "
@@ -714,7 +706,7 @@ msgstr ""
714706
"``1`` を返したとしても、 :c:func:`PyObject_GetBuffer` が成功することは保証されません。\n"
715707
"この関数は常に成功します。"
716708

717-
#: ../../c-api/buffer.rst:437
709+
#: ../../c-api/buffer.rst:439
718710
msgid ""
719711
"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
720712
"the exporter cannot provide a buffer of the exact type, it MUST raise "
@@ -724,7 +716,7 @@ msgstr ""
724716
"*exporter* に *flags* で指定された方法で *view* を埋めるように要求します。\n"
725717
"もし exporter が指定されたとおりにバッファを提供できない場合、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` を *NULL* に設定した上で、 ``-1`` を返さなければなりません。"
726718

727-
#: ../../c-api/buffer.rst:442
719+
#: ../../c-api/buffer.rst:444
728720
msgid ""
729721
"On success, fill in *view*, set :c:member:`view->obj` to a new reference to "
730722
"*exporter* and return 0. In the case of chained buffer providers that "
@@ -737,7 +729,7 @@ msgstr ""
737729
":c:member:`view->obj` は *exporter* の代わりにこのオブジェクトを参照します (:ref:`バッファオブジェクト構造体 "
738730
"<buffer-structs>` を参照してください)。"
739731

740-
#: ../../c-api/buffer.rst:447
732+
#: ../../c-api/buffer.rst:449
741733
msgid ""
742734
"Successful calls to :c:func:`PyObject_GetBuffer` must be paired with calls "
743735
"to :c:func:`PyBuffer_Release`, similar to :c:func:`malloc` and "
@@ -747,7 +739,7 @@ msgstr ""
747739
":c:func:`malloc` と :c:func:`free` のように、呼び出しに成功した :c:func:`PyObject_GetBuffer` と対になる :c:func:`PyBuffer_Release` の呼び出しがなけれなればなりません。\n"
748740
"従って、バッファの利用が済んだら :c:func:`PyBuffer_Release` が厳密に1回だけ呼び出されなければなりません。"
749741

750-
#: ../../c-api/buffer.rst:455
742+
#: ../../c-api/buffer.rst:457
751743
msgid ""
752744
"Release the buffer *view* and decrement the reference count for "
753745
":c:member:`view->obj`. This function MUST be called when the buffer is no "
@@ -756,21 +748,21 @@ msgstr ""
756748
"バッファ *view* を解放し、 :c:member:`view->obj` の参照カウントを1つ減らします。\n"
757749
"この関数はバッファが使われることがなくなったときに呼び出さなければならず、そうしないと参照のリークが起こり得ます。"
758750

759-
#: ../../c-api/buffer.rst:459
751+
#: ../../c-api/buffer.rst:461
760752
msgid ""
761753
"It is an error to call this function on a buffer that was not obtained via "
762754
":c:func:`PyObject_GetBuffer`."
763755
msgstr ":c:func:`PyObject_GetBuffer` を通して取得していないバッファに対してこの関数を呼び出すのは間違いです。"
764756

765-
#: ../../c-api/buffer.rst:465
757+
#: ../../c-api/buffer.rst:467
766758
msgid ""
767759
"Return the implied :c:data:`~Py_buffer.itemsize` from "
768760
":c:data:`~Py_buffer.format`. This function is not yet implemented."
769761
msgstr ""
770762
":c:data:`~Py_buffer.itemsize` の値を :c:data:`~PyBuffer.format` から計算して返します。\n"
771763
"この関数はまだ実装されていません。"
772764

773-
#: ../../c-api/buffer.rst:471
765+
#: ../../c-api/buffer.rst:473
774766
msgid ""
775767
"Return ``1`` if the memory defined by the *view* is C-style (*order* is "
776768
"``'C'``) or Fortran-style (*order* is ``'F'``) :term:`contiguous` or either "
@@ -781,7 +773,7 @@ msgstr ""
781773
"それ以外の場合は ``0`` を返します。\n"
782774
"この関数は常に成功します。"
783775

784-
#: ../../c-api/buffer.rst:478
776+
#: ../../c-api/buffer.rst:480
785777
msgid ""
786778
"Copy *len* bytes from *src* to its contiguous representation in *buf*. "
787779
"*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering). "
@@ -791,11 +783,11 @@ msgstr ""
791783
"*order* は ``'C'`` または ``'F'`` (C スタイルまたは Fortran スタイルの順序) が指定できます。\n"
792784
"成功したら ``0`` が返り、エラーなら ``-1`` が返ります。"
793785

794-
#: ../../c-api/buffer.rst:482
786+
#: ../../c-api/buffer.rst:484
795787
msgid "This function fails if *len* != *src->len*."
796788
msgstr "*len* != *src->len* の場合、この関数は失敗します。"
797789

798-
#: ../../c-api/buffer.rst:487
790+
#: ../../c-api/buffer.rst:489
799791
msgid ""
800792
"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style "
801793
"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the "
@@ -805,7 +797,7 @@ msgstr ""
805797
"(:term:`contiguous`) (*order* が ``'C'`` なら C-style 、 ``'F'`` なら Fortran-"
806798
"style の) 多次元配列として埋める。"
807799

808-
#: ../../c-api/buffer.rst:494
800+
#: ../../c-api/buffer.rst:496
809801
msgid ""
810802
"Handle buffer requests for an exporter that wants to expose *buf* of size "
811803
"*len* with writability set according to *readonly*. *buf* is interpreted as "
@@ -814,7 +806,7 @@ msgstr ""
814806
"サイズが *len* の *buf* を *readonly* に従った書き込み可/不可の設定で公開するバッファリクエストを処理します。\n"
815807
"*buf* は符号無しバイトの列として解釈されます。"
816808

817-
#: ../../c-api/buffer.rst:498
809+
#: ../../c-api/buffer.rst:500
818810
msgid ""
819811
"The *flags* argument indicates the request type. This function always fills "
820812
"in *view* as specified by flags, unless *buf* has been designated as read-"
@@ -823,7 +815,7 @@ msgstr ""
823815
"*flags* 引数はリクエストのタイプを示します。\n"
824816
"この関数は、 *buf* が読み出し専用と指定されていて、 *flags* に :c:macro:`PyBUF_WRITABLE` が設定されていない限り、常にフラグに指定された通りに *view* を埋めます。"
825817

826-
#: ../../c-api/buffer.rst:502
818+
#: ../../c-api/buffer.rst:504
827819
msgid ""
828820
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
829821
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
@@ -832,7 +824,7 @@ msgstr ""
832824
"成功したときは、 :c:member:`view->obj` に *exporter* への新しい参照を設定し、 0 を返します。\n"
833825
"失敗したときは、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` に *NULL* を設定し、 ``-1`` を返します;"
834826

835-
#: ../../c-api/buffer.rst:506
827+
#: ../../c-api/buffer.rst:508
836828
msgid ""
837829
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
838830
" *exporter* MUST be set to the exporting object and *flags* must be passed "

reference/datamodel.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3568,7 +3568,7 @@ msgstr ":meth:`__exit__` メソッドは受け取った例外を再度送出す
35683568

35693569
#: ../../reference/datamodel.rst:2465
35703570
msgid ":pep:`343` - The \"with\" statement"
3571-
msgstr ":pep:`343` - \"with\" ステートメント"
3571+
msgstr ":pep:`343` - \"with\" "
35723572

35733573
#: ../../reference/datamodel.rst:2465
35743574
msgid ""

0 commit comments

Comments
 (0)