Skip to content

Commit a5019bb

Browse files
sync with cpython 2ff41583
1 parent e08c28c commit a5019bb

File tree

2 files changed

+192
-181
lines changed

2 files changed

+192
-181
lines changed

c-api/long.po

Lines changed: 17 additions & 6 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: 2024-02-12 00:03+0000\n"
10+
"POT-Creation-Date: 2024-08-06 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -335,10 +335,21 @@ msgid ""
335335
msgstr ""
336336

337337
#: ../../c-api/long.rst:329
338+
msgid ""
339+
"On success, return a read only :term:`named tuple`, that holds information "
340+
"about Python's internal representation of integers. See :data:`sys.int_info` "
341+
"for description of individual fields."
342+
msgstr ""
343+
344+
#: ../../c-api/long.rst:333
345+
msgid "On failure, return ``NULL`` with an exception set."
346+
msgstr ""
347+
348+
#: ../../c-api/long.rst:340
338349
msgid "Return 1 if *op* is compact, 0 otherwise."
339350
msgstr ""
340351

341-
#: ../../c-api/long.rst:331
352+
#: ../../c-api/long.rst:342
342353
msgid ""
343354
"This function makes it possible for performance-critical code to implement a "
344355
"“fast path” for small integers. For compact values use :c:func:"
@@ -347,23 +358,23 @@ msgid ""
347358
"<PyObject_CallMethod>` :meth:`int.to_bytes`."
348359
msgstr ""
349360

350-
#: ../../c-api/long.rst:337
361+
#: ../../c-api/long.rst:348
351362
msgid "The speedup is expected to be negligible for most users."
352363
msgstr ""
353364

354-
#: ../../c-api/long.rst:339
365+
#: ../../c-api/long.rst:350
355366
msgid ""
356367
"Exactly what values are considered compact is an implementation detail and "
357368
"is subject to change."
358369
msgstr ""
359370

360-
#: ../../c-api/long.rst:344
371+
#: ../../c-api/long.rst:355
361372
msgid ""
362373
"If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`, "
363374
"return its value."
364375
msgstr ""
365376

366-
#: ../../c-api/long.rst:347
377+
#: ../../c-api/long.rst:358
367378
msgid "Otherwise, the return value is undefined."
368379
msgstr ""
369380

0 commit comments

Comments
 (0)