@@ -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 :
ppcfish <[email protected] >, 2019\n "
2525"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -181,7 +181,7 @@ msgstr "对于 :term:`contiguous` ,‘邻接’数组,值指向内存块的
181181#: ../../c-api/buffer.rst:104
182182msgid ""
183183"A new reference to the exporting object. The reference is owned by the "
184- "consumer and automatically decremented and set to * NULL* by "
184+ "consumer and automatically decremented and set to `` NULL`` by "
185185":c:func:`PyBuffer_Release`. The field is the equivalent of the return value "
186186"of any standard C-API function."
187187msgstr ""
@@ -190,7 +190,7 @@ msgstr ""
190190msgid ""
191191"As a special case, for *temporary* buffers that are wrapped by "
192192":c:func:`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo` this field "
193- "is * NULL* . In general, exporting objects MUST NOT use this scheme."
193+ "is `` NULL`` . In general, exporting objects MUST NOT use this scheme."
194194msgstr ""
195195
196196#: ../../c-api/buffer.rst:116
@@ -218,15 +218,15 @@ msgstr ""
218218#: ../../c-api/buffer.rst:132
219219msgid ""
220220"Item size in bytes of a single element. Same as the value of "
221- ":func:`struct.calcsize` called on non-NULL :c:member:`~Py_buffer.format` "
222- "values."
221+ ":func:`struct.calcsize` called on non-`` NULL`` :c:member:`~Py_buffer.format`"
222+ " values."
223223msgstr ""
224224
225225#: ../../c-api/buffer.rst:135
226226msgid ""
227227"Important exception: If a consumer requests a buffer without the "
228228":c:macro:`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to "
229- "* NULL* , but :c:member:`~Py_buffer.itemsize` still has the value for the "
229+ "`` NULL`` , but :c:member:`~Py_buffer.itemsize` still has the value for the "
230230"original format."
231231msgstr ""
232232
@@ -239,7 +239,7 @@ msgstr ""
239239
240240#: ../../c-api/buffer.rst:144
241241msgid ""
242- "If :c:member:`~Py_buffer.shape` is * NULL* as a result of a "
242+ "If :c:member:`~Py_buffer.shape` is `` NULL`` as a result of a "
243243":c:macro:`PyBUF_SIMPLE` or a :c:macro:`PyBUF_WRITABLE` request, the consumer"
244244" must disregard :c:member:`~Py_buffer.itemsize` and assume ``itemsize == "
245245"1``."
@@ -248,8 +248,8 @@ msgstr ""
248248#: ../../c-api/buffer.rst:150
249249msgid ""
250250"A *NUL* terminated string in :mod:`struct` module style syntax describing "
251- "the contents of a single item. If this is * NULL* , ``\" B\" `` (unsigned bytes) "
252- " is assumed."
251+ "the contents of a single item. If this is `` NULL`` , ``\" B\" `` (unsigned "
252+ "bytes) is assumed."
253253msgstr ""
254254
255255#: ../../c-api/buffer.rst:154
@@ -262,7 +262,7 @@ msgid ""
262262" it is ``0``, :c:member:`~Py_buffer.buf` points to a single item "
263263"representing a scalar. In this case, :c:member:`~Py_buffer.shape`, "
264264":c:member:`~Py_buffer.strides` and :c:member:`~Py_buffer.suboffsets` MUST be"
265- " * NULL* ."
265+ " `` NULL`` ."
266266msgstr ""
267267
268268#: ../../c-api/buffer.rst:163
@@ -320,7 +320,7 @@ msgstr ""
320320#: ../../c-api/buffer.rst:201
321321msgid ""
322322"If all suboffsets are negative (i.e. no de-referencing is needed), then this"
323- " field must be NULL (the default value)."
323+ " field must be `` NULL`` (the default value)."
324324msgstr ""
325325
326326#: ../../c-api/buffer.rst:204
@@ -387,7 +387,7 @@ msgstr ""
387387#: ../../c-api/buffer.rst:250
388388msgid ""
389389"Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be"
390- " filled in correctly. Otherwise, this field MUST be * NULL* ."
390+ " filled in correctly. Otherwise, this field MUST be `` NULL`` ."
391391msgstr ""
392392
393393#: ../../c-api/buffer.rst:254
@@ -563,13 +563,14 @@ msgid ""
563563"If ``ndim == 0``, the memory location pointed to by "
564564":c:member:`~Py_buffer.buf` is interpreted as a scalar of size "
565565":c:member:`~Py_buffer.itemsize`. In that case, both "
566- ":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are *NULL*."
566+ ":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are "
567+ "``NULL``."
567568msgstr ""
568569
569570#: ../../c-api/buffer.rst:354
570571msgid ""
571- "If :c:member:`~Py_buffer.strides` is * NULL* , the array is interpreted as a "
572- "standard n-dimensional C-array. Otherwise, the consumer must access an "
572+ "If :c:member:`~Py_buffer.strides` is `` NULL`` , the array is interpreted as a"
573+ " standard n-dimensional C-array. Otherwise, the consumer must access an "
573574"n-dimensional array as follows:"
574575msgstr ""
575576
@@ -598,8 +599,8 @@ msgstr ""
598599#: ../../c-api/buffer.rst:409
599600msgid ""
600601"Here is a function that returns a pointer to the element in an N-D array "
601- "pointed to by an N-dimensional index when there are both non-NULL strides "
602- "and suboffsets::"
602+ "pointed to by an N-dimensional index when there are both non-`` NULL`` "
603+ "strides and suboffsets::"
603604msgstr ""
604605
605606#: ../../c-api/buffer.rst:428
@@ -617,8 +618,8 @@ msgstr ""
617618msgid ""
618619"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
619620"the exporter cannot provide a buffer of the exact type, it MUST raise "
620- ":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to * NULL* and return "
621- "``-1``."
621+ ":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to `` NULL`` and "
622+ "return ``-1``."
622623msgstr ""
623624
624625#: ../../c-api/buffer.rst:444
@@ -714,12 +715,12 @@ msgstr ""
714715msgid ""
715716"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
716717"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
717- ":c:member:`view->obj` to * NULL* and return ``-1``;"
718+ ":c:member:`view->obj` to `` NULL`` and return ``-1``;"
718719msgstr ""
719720
720721#: ../../c-api/buffer.rst:521
721722msgid ""
722723"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
723724" *exporter* MUST be set to the exporting object and *flags* must be passed "
724- "unmodified. Otherwise, *exporter* MUST be NULL."
725+ "unmodified. Otherwise, *exporter* MUST be `` NULL`` ."
725726msgstr ""
0 commit comments