@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.7\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2019-09-12 03:27 +0000\n "
14
+ "POT-Creation-Date : 2019-10-31 03:57 +0000\n "
15
15
"PO-Revision-Date : 2019-09-01 03:39+0000\n "
16
16
"Last-Translator : tomo, 2019\n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -185,22 +185,17 @@ msgstr ":term:`連続 <contiguous>` 配列の場合この値はメモリブロ
185
185
#: ../../c-api/buffer.rst:104
186
186
msgid ""
187
187
"A new reference to the exporting object. The reference is owned by the "
188
- "consumer and automatically decremented and set to * NULL* by "
188
+ "consumer and automatically decremented and set to `` NULL`` by "
189
189
":c:func:`PyBuffer_Release`. The field is the equivalent of the return value "
190
190
"of any standard C-API function."
191
191
msgstr ""
192
- "エクスポートされているオブジェクトの新しい参照。参照は消費者によって所有され、:c:func:`PyBuffer_Release` "
193
- "によって自動的にデクリメントされて *NULL* に設定されます。このフィールドは標準的なC-API 関数の戻り値と等価です。"
194
192
195
193
#: ../../c-api/buffer.rst:109
196
194
msgid ""
197
195
"As a special case, for *temporary* buffers that are wrapped by "
198
196
":c:func:`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo` this field "
199
- "is * NULL* . In general, exporting objects MUST NOT use this scheme."
197
+ "is `` NULL`` . In general, exporting objects MUST NOT use this scheme."
200
198
msgstr ""
201
- ":c:func:`PyMemoryView_FromBuffer` または :c:func:`PyBuffer_FillInfo` によってラップされた"
202
- " *一時的な* バッファである特別なケースでは、このフィールドは *NULL* "
203
- "です。一般的に、エクスポートオブジェクトはこの方式を使用してはなりません。"
204
199
205
200
#: ../../c-api/buffer.rst:116
206
201
msgid ""
@@ -231,21 +226,17 @@ msgstr "バッファが読み出し専用であるか示します。このフィ
231
226
#: ../../c-api/buffer.rst:132
232
227
msgid ""
233
228
"Item size in bytes of a single element. Same as the value of "
234
- ":func:`struct.calcsize` called on non-NULL :c:member:`~Py_buffer.format` "
235
- "values."
229
+ ":func:`struct.calcsize` called on non-`` NULL`` :c:member:`~Py_buffer.format`"
230
+ " values."
236
231
msgstr ""
237
- "要素一つ分のbyte単位のサイズ。 :func:`struct.calcsize` を非NULLの "
238
- ":c:member:`~Py_buffer.format` 値に対して呼び出した結果と同じです。"
239
232
240
233
#: ../../c-api/buffer.rst:135
241
234
msgid ""
242
235
"Important exception: If a consumer requests a buffer without the "
243
236
":c:macro:`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to "
244
- "* NULL* , but :c:member:`~Py_buffer.itemsize` still has the value for the "
237
+ "`` NULL`` , but :c:member:`~Py_buffer.itemsize` still has the value for the "
245
238
"original format."
246
239
msgstr ""
247
- "重要な例外: 消費者が :c:macro:`PyBUF_FORMAT` フラグを設定することなくバッファを要求した場合、 :c:member:`~Py_Buffer.format` は *NULL* に設定されます。\n"
248
- "しかし :c:member:`~Py_buffer.itemsize` は元のフォーマットに従った値を保持します。"
249
240
250
241
#: ../../c-api/buffer.rst:140
251
242
msgid ""
@@ -258,23 +249,18 @@ msgstr ""
258
249
259
250
#: ../../c-api/buffer.rst:144
260
251
msgid ""
261
- "If :c:member:`~Py_buffer.shape` is * NULL* as a result of a "
252
+ "If :c:member:`~Py_buffer.shape` is `` NULL`` as a result of a "
262
253
":c:macro:`PyBUF_SIMPLE` or a :c:macro:`PyBUF_WRITABLE` request, the consumer"
263
254
" must disregard :c:member:`~Py_buffer.itemsize` and assume ``itemsize == "
264
255
"1``."
265
256
msgstr ""
266
- ":c:macro:`PyBUF_SIMPLE` または :c:macro:`PyBUF_WRITABLE` で要求した結果、 "
267
- ":c:member:`~Py_buffer.shape` が *NULL* であれば、消費者は "
268
- ":c:member:`~Py_buffer.itemsize` を無視して ``itemsize == 1`` と見なさなければなりません。"
269
257
270
258
#: ../../c-api/buffer.rst:150
271
259
msgid ""
272
260
"A *NUL* terminated string in :mod:`struct` module style syntax describing "
273
- "the contents of a single item. If this is * NULL* , ``\" B\" `` (unsigned bytes) "
274
- " is assumed."
261
+ "the contents of a single item. If this is `` NULL`` , ``\" B\" `` (unsigned "
262
+ "bytes) is assumed."
275
263
msgstr ""
276
- "要素一つ分の内容を指定する、 :mod:`struct` モジュールスタイル文法の、 *NUL* 終端文字列。 このポインタの値が *NULL* なら、"
277
- " ``\" B\" `` (符号無しバイト) として扱われます。"
278
264
279
265
#: ../../c-api/buffer.rst:154
280
266
msgid "This field is controlled by the :c:macro:`PyBUF_FORMAT` flag."
@@ -286,11 +272,8 @@ msgid ""
286
272
" it is ``0``, :c:member:`~Py_buffer.buf` points to a single item "
287
273
"representing a scalar. In this case, :c:member:`~Py_buffer.shape`, "
288
274
":c:member:`~Py_buffer.strides` and :c:member:`~Py_buffer.suboffsets` MUST be"
289
- " * NULL* ."
275
+ " `` NULL`` ."
290
276
msgstr ""
291
- "メモリがN次元配列を表している時の次元数。\n"
292
- "``0`` の場合、 :c:member:`~Py_buffer.buf` はスカラ値を表す1つの要素を指しています。\n"
293
- "この場合、 :c:member:`~Py_buffer.shape`, :c:member:`~Py_buffer.strides`, :c:member:`~Py_buffer.suboffsets` は *NULL* でなければなりません。"
294
277
295
278
#: ../../c-api/buffer.rst:163
296
279
msgid ""
@@ -361,9 +344,8 @@ msgstr ""
361
344
#: ../../c-api/buffer.rst:201
362
345
msgid ""
363
346
"If all suboffsets are negative (i.e. no de-referencing is needed), then this"
364
- " field must be NULL (the default value)."
347
+ " field must be `` NULL`` (the default value)."
365
348
msgstr ""
366
- "全ての suboffset が負数の場合 (つまり参照解決が不要) な場合、このフィールドは NULL (デフォルト値) でなければなりません。"
367
349
368
350
#: ../../c-api/buffer.rst:204
369
351
msgid ""
@@ -442,11 +424,8 @@ msgstr ""
442
424
#: ../../c-api/buffer.rst:250
443
425
msgid ""
444
426
"Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be"
445
- " filled in correctly. Otherwise, this field MUST be * NULL* ."
427
+ " filled in correctly. Otherwise, this field MUST be `` NULL`` ."
446
428
msgstr ""
447
- ":c:member:`~Py_buffer.format` "
448
- "フィールドを制御します。もしフラグが設定されていれば、このフィールドを正しく埋めなければなりません。フラグが設定されていなければ、このフィールドを "
449
- "*NULL* に設定しなければなりません。"
450
429
451
430
#: ../../c-api/buffer.rst:254
452
431
msgid ""
@@ -635,19 +614,16 @@ msgid ""
635
614
"If ``ndim == 0``, the memory location pointed to by "
636
615
":c:member:`~Py_buffer.buf` is interpreted as a scalar of size "
637
616
":c:member:`~Py_buffer.itemsize`. In that case, both "
638
- ":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are *NULL*."
617
+ ":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are "
618
+ "``NULL``."
639
619
msgstr ""
640
- "``ndim == 0`` の場合は、 :c:member:`~Py_buffer.buf` が指すメモリの場所は、サイズが :c:member:`~Py_buffer.itemsize` のスカラ値として解釈されます。\n"
641
- "この場合、 :c:member:`~Py_buffer.shape` と :c:member:`~Py_buffer.strides` の両方とも *NULL* です。"
642
620
643
621
#: ../../c-api/buffer.rst:354
644
622
msgid ""
645
- "If :c:member:`~Py_buffer.strides` is * NULL* , the array is interpreted as a "
646
- "standard n-dimensional C-array. Otherwise, the consumer must access an "
623
+ "If :c:member:`~Py_buffer.strides` is `` NULL`` , the array is interpreted as a"
624
+ " standard n-dimensional C-array. Otherwise, the consumer must access an "
647
625
"n-dimensional array as follows:"
648
626
msgstr ""
649
- ":c:member:`~Py_buffer.strides` が *NULL* の場合は、配列は標準の n 次元 C 配列として解釈されます。\n"
650
- "そうでない場合は、利用者は次のように n 次元配列にアクセスしなければなりません:"
651
627
652
628
#: ../../c-api/buffer.rst:364
653
629
msgid ""
@@ -679,11 +655,9 @@ msgstr ""
679
655
#: ../../c-api/buffer.rst:409
680
656
msgid ""
681
657
"Here is a function that returns a pointer to the element in an N-D array "
682
- "pointed to by an N-dimensional index when there are both non-NULL strides "
683
- "and suboffsets::"
658
+ "pointed to by an N-dimensional index when there are both non-`` NULL`` "
659
+ "strides and suboffsets::"
684
660
msgstr ""
685
- "次の例は、 strides も suboffsets も NULL でない場合の、N 次元インデックスによって指されている N "
686
- "次元配列内の要素へのポインタを返す関数です。 ::"
687
661
688
662
#: ../../c-api/buffer.rst:428
689
663
msgid "Buffer-related functions"
@@ -703,11 +677,9 @@ msgstr ""
703
677
msgid ""
704
678
"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
705
679
"the exporter cannot provide a buffer of the exact type, it MUST raise "
706
- ":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to * NULL* and return "
707
- "``-1``."
680
+ ":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to `` NULL`` and "
681
+ "return ``-1``."
708
682
msgstr ""
709
- "*exporter* に *flags* で指定された方法で *view* を埋めるように要求します。\n"
710
- "もし exporter が指定されたとおりにバッファを提供できない場合、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` を *NULL* に設定した上で、 ``-1`` を返さなければなりません。"
711
683
712
684
#: ../../c-api/buffer.rst:444
713
685
msgid ""
@@ -824,16 +796,12 @@ msgstr ""
824
796
msgid ""
825
797
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
826
798
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
827
- ":c:member:`view->obj` to * NULL* and return ``-1``;"
799
+ ":c:member:`view->obj` to `` NULL`` and return ``-1``;"
828
800
msgstr ""
829
- "成功したときは、 :c:member:`view->obj` に *exporter* への新しい参照を設定し、 0 を返します。\n"
830
- "失敗したときは、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` に *NULL* を設定し、 ``-1`` を返します;"
831
801
832
802
#: ../../c-api/buffer.rst:521
833
803
msgid ""
834
804
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
835
805
" *exporter* MUST be set to the exporting object and *flags* must be passed "
836
- "unmodified. Otherwise, *exporter* MUST be NULL."
806
+ "unmodified. Otherwise, *exporter* MUST be `` NULL`` ."
837
807
msgstr ""
838
- "この関数を :ref:`getbufferproc <buffer-structs>` の一部として使う場合には、 *exporter* はエクスポートするオブジェクトに設定しなければならず、さらに *flags* は変更せずに渡さなければなりません。\n"
839
- "そうでない場合は、 *exporter* は NULL でなければなりません。"
0 commit comments