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

Skip to content

Commit 868ca01

Browse files
sync with cpython 8a955003
1 parent f38f43e commit 868ca01

File tree

3 files changed

+158
-157
lines changed

3 files changed

+158
-157
lines changed

c-api/bytes.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-08-09 01:33+0000\n"
10+
"POT-Creation-Date: 2023-12-26 01:19+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:04+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -272,17 +272,17 @@ msgstr ""
272272
#: ../../c-api/bytes.rst:156
273273
msgid ""
274274
"Return the null-terminated contents of the object *obj* through the output "
275-
"variables *buffer* and *length*."
275+
"variables *buffer* and *length*. Returns ``0`` on success."
276276
msgstr ""
277277

278-
#: ../../c-api/bytes.rst:159
278+
#: ../../c-api/bytes.rst:160
279279
msgid ""
280280
"If *length* is ``NULL``, the bytes object may not contain embedded null "
281281
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
282282
"raised."
283283
msgstr ""
284284

285-
#: ../../c-api/bytes.rst:163
285+
#: ../../c-api/bytes.rst:164
286286
msgid ""
287287
"The buffer refers to an internal buffer of *obj*, which includes an "
288288
"additional null byte at the end (not counted in *length*). The data must "
@@ -292,13 +292,13 @@ msgid ""
292292
"returns ``-1`` and raises :exc:`TypeError`."
293293
msgstr ""
294294

295-
#: ../../c-api/bytes.rst:170
295+
#: ../../c-api/bytes.rst:171
296296
msgid ""
297297
"Previously, :exc:`TypeError` was raised when embedded null bytes were "
298298
"encountered in the bytes object."
299299
msgstr ""
300300

301-
#: ../../c-api/bytes.rst:177
301+
#: ../../c-api/bytes.rst:178
302302
msgid ""
303303
"Create a new bytes object in *\\*bytes* containing the contents of *newpart* "
304304
"appended to *bytes*; the caller will own the new reference. The reference "
@@ -307,14 +307,14 @@ msgid ""
307307
"of *\\*bytes* will be set to ``NULL``; the appropriate exception will be set."
308308
msgstr ""
309309

310-
#: ../../c-api/bytes.rst:186
310+
#: ../../c-api/bytes.rst:187
311311
msgid ""
312312
"Create a new bytes object in *\\*bytes* containing the contents of *newpart* "
313313
"appended to *bytes*. This version releases the :term:`strong reference` to "
314314
"*newpart* (i.e. decrements its reference count)."
315315
msgstr ""
316316

317-
#: ../../c-api/bytes.rst:193
317+
#: ../../c-api/bytes.rst:194
318318
msgid ""
319319
"A way to resize a bytes object even though it is \"immutable\". Only use "
320320
"this to build up a brand new bytes object; don't use this if the bytes may "

library/itertools.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-12-16 01:21+0000\n"
10+
"POT-Creation-Date: 2023-12-26 01:19+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -890,6 +890,6 @@ msgid ""
890890
"term:`generator`\\s which incur interpreter overhead."
891891
msgstr ""
892892

893-
#: ../../library/itertools.rst:1025
893+
#: ../../library/itertools.rst:1027
894894
msgid "The following recipes have a more mathematical flavor:"
895895
msgstr ""

0 commit comments

Comments
 (0)