66# Translators:
77# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
88# E. Kawashima, 2017
9+ # 秘湯 <xwhhsprings@gmail.com>, 2017
910# Ikuru K <kanumaiku@gmail.com>, 2017
1011# Yusuke Miyazaki <miyazaki.dev@gmail.com>, 2017
11- # 秘湯 <xwhhsprings@gmail.com>, 2017
1212# Osamu NAKAMURA, 2017
1313# Inada Naoki <songofacandy@gmail.com>, 2017
1414# Arihiro TAKASE, 2017
@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.8\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2019-09-12 11:28 +0000\n "
22+ "POT-Creation-Date : 2019-10-31 11:48 +0000\n "
2323"PO-Revision-Date : 2017-02-16 17:33+0000\n "
2424"Last-Translator : tomo, 2019\n "
2525"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -193,22 +193,17 @@ msgstr ":term:`連続 <contiguous>` 配列の場合この値はメモリブロ
193193#: ../../c-api/buffer.rst:104
194194msgid ""
195195"A new reference to the exporting object. The reference is owned by the "
196- "consumer and automatically decremented and set to * NULL* by "
196+ "consumer and automatically decremented and set to `` NULL`` by "
197197":c:func:`PyBuffer_Release`. The field is the equivalent of the return value "
198198"of any standard C-API function."
199199msgstr ""
200- "エクスポートされているオブジェクトの新しい参照。参照は消費者によって所有され、:c:func:`PyBuffer_Release` "
201- "によって自動的にデクリメントされて *NULL* に設定されます。このフィールドは標準的なC-API 関数の戻り値と等価です。"
202200
203201#: ../../c-api/buffer.rst:109
204202msgid ""
205203"As a special case, for *temporary* buffers that are wrapped by "
206204":c:func:`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo` this field "
207- "is * NULL* . In general, exporting objects MUST NOT use this scheme."
205+ "is `` NULL`` . In general, exporting objects MUST NOT use this scheme."
208206msgstr ""
209- ":c:func:`PyMemoryView_FromBuffer` または :c:func:`PyBuffer_FillInfo` によってラップされた"
210- " *一時的な* バッファである特別なケースでは、このフィールドは *NULL* "
211- "です。一般的に、エクスポートオブジェクトはこの方式を使用してはなりません。"
212207
213208#: ../../c-api/buffer.rst:116
214209msgid ""
@@ -239,21 +234,17 @@ msgstr "バッファが読み出し専用であるか示します。このフィ
239234#: ../../c-api/buffer.rst:132
240235msgid ""
241236"Item size in bytes of a single element. Same as the value of "
242- ":func:`struct.calcsize` called on non-NULL :c:member:`~Py_buffer.format` "
243- "values."
237+ ":func:`struct.calcsize` called on non-`` NULL`` :c:member:`~Py_buffer.format`"
238+ " values."
244239msgstr ""
245- "要素一つ分のbyte単位のサイズ。 :func:`struct.calcsize` を非NULLの "
246- ":c:member:`~Py_buffer.format` 値に対して呼び出した結果と同じです。"
247240
248241#: ../../c-api/buffer.rst:135
249242msgid ""
250243"Important exception: If a consumer requests a buffer without the "
251244":c:macro:`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to "
252- "* NULL* , but :c:member:`~Py_buffer.itemsize` still has the value for the "
245+ "`` NULL`` , but :c:member:`~Py_buffer.itemsize` still has the value for the "
253246"original format."
254247msgstr ""
255- "重要な例外: 消費者が :c:macro:`PyBUF_FORMAT` フラグを設定することなくバッファを要求した場合、 :c:member:`~Py_Buffer.format` は *NULL* に設定されます。\n"
256- "しかし :c:member:`~Py_buffer.itemsize` は元のフォーマットに従った値を保持します。"
257248
258249#: ../../c-api/buffer.rst:140
259250msgid ""
@@ -266,23 +257,18 @@ msgstr ""
266257
267258#: ../../c-api/buffer.rst:144
268259msgid ""
269- "If :c:member:`~Py_buffer.shape` is * NULL* as a result of a "
260+ "If :c:member:`~Py_buffer.shape` is `` NULL`` as a result of a "
270261":c:macro:`PyBUF_SIMPLE` or a :c:macro:`PyBUF_WRITABLE` request, the consumer"
271262" must disregard :c:member:`~Py_buffer.itemsize` and assume ``itemsize == "
272263"1``."
273264msgstr ""
274- ":c:macro:`PyBUF_SIMPLE` または :c:macro:`PyBUF_WRITABLE` で要求した結果、 "
275- ":c:member:`~Py_buffer.shape` が *NULL* であれば、消費者は "
276- ":c:member:`~Py_buffer.itemsize` を無視して ``itemsize == 1`` と見なさなければなりません。"
277265
278266#: ../../c-api/buffer.rst:150
279267msgid ""
280268"A *NUL* terminated string in :mod:`struct` module style syntax describing "
281- "the contents of a single item. If this is * NULL* , ``\" B\" `` (unsigned bytes) "
282- " is assumed."
269+ "the contents of a single item. If this is `` NULL`` , ``\" B\" `` (unsigned "
270+ "bytes) is assumed."
283271msgstr ""
284- "要素一つ分の内容を指定する、 :mod:`struct` モジュールスタイル文法の、 *NUL* 終端文字列。 このポインタの値が *NULL* なら、"
285- " ``\" B\" `` (符号無しバイト) として扱われます。"
286272
287273#: ../../c-api/buffer.rst:154
288274msgid "This field is controlled by the :c:macro:`PyBUF_FORMAT` flag."
@@ -294,11 +280,8 @@ msgid ""
294280" it is ``0``, :c:member:`~Py_buffer.buf` points to a single item "
295281"representing a scalar. In this case, :c:member:`~Py_buffer.shape`, "
296282":c:member:`~Py_buffer.strides` and :c:member:`~Py_buffer.suboffsets` MUST be"
297- " * NULL* ."
283+ " `` NULL`` ."
298284msgstr ""
299- "メモリがN次元配列を表している時の次元数。\n"
300- "``0`` の場合、 :c:member:`~Py_buffer.buf` はスカラ値を表す1つの要素を指しています。\n"
301- "この場合、 :c:member:`~Py_buffer.shape`, :c:member:`~Py_buffer.strides`, :c:member:`~Py_buffer.suboffsets` は *NULL* でなければなりません。"
302285
303286#: ../../c-api/buffer.rst:163
304287msgid ""
@@ -369,9 +352,8 @@ msgstr ""
369352#: ../../c-api/buffer.rst:201
370353msgid ""
371354"If all suboffsets are negative (i.e. no de-referencing is needed), then this"
372- " field must be NULL (the default value)."
355+ " field must be `` NULL`` (the default value)."
373356msgstr ""
374- "全ての suboffset が負数の場合 (つまり参照解決が不要) な場合、このフィールドは NULL (デフォルト値) でなければなりません。"
375357
376358#: ../../c-api/buffer.rst:204
377359msgid ""
@@ -450,11 +432,8 @@ msgstr ""
450432#: ../../c-api/buffer.rst:250
451433msgid ""
452434"Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be"
453- " filled in correctly. Otherwise, this field MUST be * NULL* ."
435+ " filled in correctly. Otherwise, this field MUST be `` NULL`` ."
454436msgstr ""
455- ":c:member:`~Py_buffer.format` "
456- "フィールドを制御します。もしフラグが設定されていれば、このフィールドを正しく埋めなければなりません。フラグが設定されていなければ、このフィールドを "
457- "*NULL* に設定しなければなりません。"
458437
459438#: ../../c-api/buffer.rst:254
460439msgid ""
@@ -643,19 +622,16 @@ msgid ""
643622"If ``ndim == 0``, the memory location pointed to by "
644623":c:member:`~Py_buffer.buf` is interpreted as a scalar of size "
645624":c:member:`~Py_buffer.itemsize`. In that case, both "
646- ":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are *NULL*."
625+ ":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are "
626+ "``NULL``."
647627msgstr ""
648- "``ndim == 0`` の場合は、 :c:member:`~Py_buffer.buf` が指すメモリの場所は、サイズが :c:member:`~Py_buffer.itemsize` のスカラ値として解釈されます。\n"
649- "この場合、 :c:member:`~Py_buffer.shape` と :c:member:`~Py_buffer.strides` の両方とも *NULL* です。"
650628
651629#: ../../c-api/buffer.rst:354
652630msgid ""
653- "If :c:member:`~Py_buffer.strides` is * NULL* , the array is interpreted as a "
654- "standard n-dimensional C-array. Otherwise, the consumer must access an "
631+ "If :c:member:`~Py_buffer.strides` is `` NULL`` , the array is interpreted as a"
632+ " standard n-dimensional C-array. Otherwise, the consumer must access an "
655633"n-dimensional array as follows:"
656634msgstr ""
657- ":c:member:`~Py_buffer.strides` が *NULL* の場合は、配列は標準の n 次元 C 配列として解釈されます。\n"
658- "そうでない場合は、利用者は次のように n 次元配列にアクセスしなければなりません:"
659635
660636#: ../../c-api/buffer.rst:364
661637msgid ""
@@ -687,11 +663,9 @@ msgstr ""
687663#: ../../c-api/buffer.rst:409
688664msgid ""
689665"Here is a function that returns a pointer to the element in an N-D array "
690- "pointed to by an N-dimensional index when there are both non-NULL strides "
691- "and suboffsets::"
666+ "pointed to by an N-dimensional index when there are both non-`` NULL`` "
667+ "strides and suboffsets::"
692668msgstr ""
693- "次の例は、 strides も suboffsets も NULL でない場合の、N 次元インデックスによって指されている N "
694- "次元配列内の要素へのポインタを返す関数です。 ::"
695669
696670#: ../../c-api/buffer.rst:428
697671msgid "Buffer-related functions"
@@ -711,11 +685,9 @@ msgstr ""
711685msgid ""
712686"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
713687"the exporter cannot provide a buffer of the exact type, it MUST raise "
714- ":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to * NULL* and return "
715- "``-1``."
688+ ":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to `` NULL`` and "
689+ "return ``-1``."
716690msgstr ""
717- "*exporter* に *flags* で指定された方法で *view* を埋めるように要求します。\n"
718- "もし exporter が指定されたとおりにバッファを提供できない場合、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` を *NULL* に設定した上で、 ``-1`` を返さなければなりません。"
719691
720692#: ../../c-api/buffer.rst:444
721693msgid ""
@@ -832,16 +804,12 @@ msgstr ""
832804msgid ""
833805"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
834806"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
835- ":c:member:`view->obj` to * NULL* and return ``-1``;"
807+ ":c:member:`view->obj` to `` NULL`` and return ``-1``;"
836808msgstr ""
837- "成功したときは、 :c:member:`view->obj` に *exporter* への新しい参照を設定し、 0 を返します。\n"
838- "失敗したときは、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` に *NULL* を設定し、 ``-1`` を返します;"
839809
840810#: ../../c-api/buffer.rst:521
841811msgid ""
842812"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
843813" *exporter* MUST be set to the exporting object and *flags* must be passed "
844- "unmodified. Otherwise, *exporter* MUST be NULL."
814+ "unmodified. Otherwise, *exporter* MUST be `` NULL`` ."
845815msgstr ""
846- "この関数を :ref:`getbufferproc <buffer-structs>` の一部として使う場合には、 *exporter* はエクスポートするオブジェクトに設定しなければならず、さらに *flags* は変更せずに渡さなければなりません。\n"
847- "そうでない場合は、 *exporter* は NULL でなければなりません。"
0 commit comments