@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
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
668660msgid ""
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
677669msgid "PIL-style: shape, strides and suboffsets"
678670msgstr "PIL スタイル: shape, strides, suboffsets"
679671
680- #: ../../c-api/buffer.rst:398
672+ #: ../../c-api/buffer.rst:400
681673msgid ""
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
695687msgid ""
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
704696msgid "Buffer-related functions"
705697msgstr "バッファ関連の関数"
706698
707- #: ../../c-api/buffer.rst:430
699+ #: ../../c-api/buffer.rst:432
708700msgid ""
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
718710msgid ""
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
728720msgid ""
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
741733msgid ""
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
751743msgid ""
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
760752msgid ""
761753"It is an error to call this function on a buffer that was not obtained via "
762754":c:func:`PyObject_GetBuffer`."
763755msgstr ":c:func:`PyObject_GetBuffer` を通して取得していないバッファに対してこの関数を呼び出すのは間違いです。"
764756
765- #: ../../c-api/buffer.rst:465
757+ #: ../../c-api/buffer.rst:467
766758msgid ""
767759"Return the implied :c:data:`~Py_buffer.itemsize` from "
768760":c:data:`~Py_buffer.format`. This function is not yet implemented."
769761msgstr ""
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
774766msgid ""
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
785777msgid ""
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
795787msgid "This function fails if *len* != *src->len*."
796788msgstr "*len* != *src->len* の場合、この関数は失敗します。"
797789
798- #: ../../c-api/buffer.rst:487
790+ #: ../../c-api/buffer.rst:489
799791msgid ""
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
809801msgid ""
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
818810msgid ""
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
827819msgid ""
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
836828msgid ""
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 "
0 commit comments