7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"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 "
11
11
"PO-Revision-Date : 2018-05-23 14:04+0000\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -272,17 +272,17 @@ msgstr ""
272
272
#: ../../c-api/bytes.rst:156
273
273
msgid ""
274
274
"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. "
276
276
msgstr ""
277
277
278
- #: ../../c-api/bytes.rst:159
278
+ #: ../../c-api/bytes.rst:160
279
279
msgid ""
280
280
"If *length* is ``NULL``, the bytes object may not contain embedded null "
281
281
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
282
282
"raised."
283
283
msgstr ""
284
284
285
- #: ../../c-api/bytes.rst:163
285
+ #: ../../c-api/bytes.rst:164
286
286
msgid ""
287
287
"The buffer refers to an internal buffer of *obj*, which includes an "
288
288
"additional null byte at the end (not counted in *length*). The data must "
@@ -292,13 +292,13 @@ msgid ""
292
292
"returns ``-1`` and raises :exc:`TypeError`."
293
293
msgstr ""
294
294
295
- #: ../../c-api/bytes.rst:170
295
+ #: ../../c-api/bytes.rst:171
296
296
msgid ""
297
297
"Previously, :exc:`TypeError` was raised when embedded null bytes were "
298
298
"encountered in the bytes object."
299
299
msgstr ""
300
300
301
- #: ../../c-api/bytes.rst:177
301
+ #: ../../c-api/bytes.rst:178
302
302
msgid ""
303
303
"Create a new bytes object in *\\ *bytes* containing the contents of *newpart* "
304
304
"appended to *bytes*; the caller will own the new reference. The reference "
@@ -307,14 +307,14 @@ msgid ""
307
307
"of *\\ *bytes* will be set to ``NULL``; the appropriate exception will be set."
308
308
msgstr ""
309
309
310
- #: ../../c-api/bytes.rst:186
310
+ #: ../../c-api/bytes.rst:187
311
311
msgid ""
312
312
"Create a new bytes object in *\\ *bytes* containing the contents of *newpart* "
313
313
"appended to *bytes*. This version releases the :term:`strong reference` to "
314
314
"*newpart* (i.e. decrements its reference count)."
315
315
msgstr ""
316
316
317
- #: ../../c-api/bytes.rst:193
317
+ #: ../../c-api/bytes.rst:194
318
318
msgid ""
319
319
"A way to resize a bytes object even though it is \" immutable\" . Only use "
320
320
"this to build up a brand new bytes object; don't use this if the bytes may "
0 commit comments