Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b851e52

Browse files
[po] auto sync
1 parent d154a64 commit b851e52

62 files changed

Lines changed: 6301 additions & 6511 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

c-api/arg.po

Lines changed: 44 additions & 85 deletions
Large diffs are not rendered by default.

c-api/buffer.po

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
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
182182
msgid ""
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."
187187
msgstr ""
@@ -190,7 +190,7 @@ msgstr ""
190190
msgid ""
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."
194194
msgstr ""
195195

196196
#: ../../c-api/buffer.rst:116
@@ -218,15 +218,15 @@ msgstr ""
218218
#: ../../c-api/buffer.rst:132
219219
msgid ""
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."
223223
msgstr ""
224224

225225
#: ../../c-api/buffer.rst:135
226226
msgid ""
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."
231231
msgstr ""
232232

@@ -239,7 +239,7 @@ msgstr ""
239239

240240
#: ../../c-api/buffer.rst:144
241241
msgid ""
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
249249
msgid ""
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."
253253
msgstr ""
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``."
266266
msgstr ""
267267

268268
#: ../../c-api/buffer.rst:163
@@ -320,7 +320,7 @@ msgstr ""
320320
#: ../../c-api/buffer.rst:201
321321
msgid ""
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)."
324324
msgstr ""
325325

326326
#: ../../c-api/buffer.rst:204
@@ -387,7 +387,7 @@ msgstr ""
387387
#: ../../c-api/buffer.rst:250
388388
msgid ""
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``."
391391
msgstr ""
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``."
567568
msgstr ""
568569

569570
#: ../../c-api/buffer.rst:354
570571
msgid ""
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:"
574575
msgstr ""
575576

@@ -598,8 +599,8 @@ msgstr ""
598599
#: ../../c-api/buffer.rst:409
599600
msgid ""
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::"
603604
msgstr ""
604605

605606
#: ../../c-api/buffer.rst:428
@@ -617,8 +618,8 @@ msgstr ""
617618
msgid ""
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``."
622623
msgstr ""
623624

624625
#: ../../c-api/buffer.rst:444
@@ -714,12 +715,12 @@ msgstr ""
714715
msgid ""
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``;"
718719
msgstr ""
719720

720721
#: ../../c-api/buffer.rst:521
721722
msgid ""
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``."
725726
msgstr ""

c-api/bytearray.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.8\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
16+
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
1717
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1818
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -69,23 +69,24 @@ msgstr "根据任何实现了 :ref:`缓冲区协议<bufferobjects>` 的对象 *o
6969
#: ../../c-api/bytearray.rst:50
7070
msgid ""
7171
"Create a new bytearray object from *string* and its length, *len*. On "
72-
"failure, *NULL* is returned."
73-
msgstr "根据 *string* 和它的长度 *len* 生成一个字节数组对象。当失败时,返回 *NULL*。"
72+
"failure, ``NULL`` is returned."
73+
msgstr ""
7474

7575
#: ../../c-api/bytearray.rst:56
7676
msgid ""
7777
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
7878
msgstr "连接字节数组 *a* 和 *b* 并返回一个带有结果的新的字节数组。"
7979

8080
#: ../../c-api/bytearray.rst:61
81-
msgid "Return the size of *bytearray* after checking for a *NULL* pointer."
82-
msgstr "在检查 *NULL* 指针后返回 *bytearray* 的大小。"
81+
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
82+
msgstr ""
8383

8484
#: ../../c-api/bytearray.rst:66
8585
msgid ""
8686
"Return the contents of *bytearray* as a char array after checking for a "
87-
"*NULL* pointer. The returned array always has an extra null byte appended."
88-
msgstr "数组在检查 *NULL* 指针后以字符数组形式返回 *bytearray* 内容。返回的字符数组结尾总是加上额外的空字节。"
87+
"``NULL`` pointer. The returned array always has an extra null byte "
88+
"appended."
89+
msgstr ""
8990

9091
#: ../../c-api/bytearray.rst:73
9192
msgid "Resize the internal buffer of *bytearray* to *len*."

c-api/bytes.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# sgqy <[email protected]>, 2019
1111
# Vegetables <[email protected]>, 2019
1212
# ppcfish <[email protected]>, 2019
13-
# Jiu Hong Jiang <[email protected]>, 2019
1413
# Shengjing Zhu <[email protected]>, 2019
1514
# 昌伟 任 <[email protected]>, 2019
1615
#
@@ -19,7 +18,7 @@ msgid ""
1918
msgstr ""
2019
"Project-Id-Version: Python 3.8\n"
2120
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
21+
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
2322
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
2423
"Last-Translator: 昌伟 任 <[email protected]>, 2019\n"
2524
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -66,17 +65,16 @@ msgstr "如果对象 *o* 是字节对象,但不是字节类型子类型的实
6665
#: ../../c-api/bytes.rst:39
6766
msgid ""
6867
"Return a new bytes object with a copy of the string *v* as value on success,"
69-
" and *NULL* on failure. The parameter *v* must not be *NULL*; it will not "
70-
"be checked."
71-
msgstr "返回一个新字节对象,成功时返回字符串*v*的副本作为值,失败时返回*NULL*。形参*v*不能为*NULL*;它不会被检查。"
68+
" and ``NULL`` on failure. The parameter *v* must not be ``NULL``; it will "
69+
"not be checked."
70+
msgstr ""
7271

7372
#: ../../c-api/bytes.rst:46
7473
msgid ""
7574
"Return a new bytes object with a copy of the string *v* as value and length "
76-
"*len* on success, and *NULL* on failure. If *v* is *NULL*, the contents of "
77-
"the bytes object are uninitialized."
75+
"*len* on success, and ``NULL`` on failure. If *v* is ``NULL``, the contents"
76+
" of the bytes object are uninitialized."
7877
msgstr ""
79-
"返回一个新字节对象,成功时将字符串*v*的副本作为值和长度*len*,失败时返回*NULL*。如果*v*为*NULL*,则字节对象的内容未初始化。"
8078

8179
#: ../../c-api/bytes.rst:53
8280
msgid ""
@@ -276,7 +274,7 @@ msgid ""
276274
"bytes. The data must not be modified in any way, unless the object was just"
277275
" created using ``PyBytes_FromStringAndSize(NULL, size)``. It must not be "
278276
"deallocated. If *o* is not a bytes object at all, "
279-
":c:func:`PyBytes_AsString` returns *NULL* and raises :exc:`TypeError`."
277+
":c:func:`PyBytes_AsString` returns ``NULL`` and raises :exc:`TypeError`."
280278
msgstr ""
281279

282280
#: ../../c-api/bytes.rst:154
@@ -291,8 +289,9 @@ msgstr ""
291289

292290
#: ../../c-api/bytes.rst:162
293291
msgid ""
294-
"If *length* is *NULL*, the bytes object may not contain embedded null bytes;"
295-
" if it does, the function returns ``-1`` and a :exc:`ValueError` is raised."
292+
"If *length* is ``NULL``, the bytes object may not contain embedded null "
293+
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
294+
"raised."
296295
msgstr ""
297296

298297
#: ../../c-api/bytes.rst:166
@@ -317,7 +316,8 @@ msgid ""
317316
" appended to *bytes*; the caller will own the new reference. The reference "
318317
"to the old value of *bytes* will be stolen. If the new object cannot be "
319318
"created, the old reference to *bytes* will still be discarded and the value "
320-
"of *\\*bytes* will be set to *NULL*; the appropriate exception will be set."
319+
"of *\\*bytes* will be set to ``NULL``; the appropriate exception will be "
320+
"set."
321321
msgstr ""
322322

323323
#: ../../c-api/bytes.rst:189
@@ -337,6 +337,6 @@ msgid ""
337337
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
338338
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
339339
"input value. If the reallocation fails, the original bytes object at "
340-
"*\\*bytes* is deallocated, *\\*bytes* is set to *NULL*, :exc:`MemoryError` "
341-
"is set, and ``-1`` is returned."
340+
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError`"
341+
" is set, and ``-1`` is returned."
342342
msgstr ""

0 commit comments

Comments
 (0)