Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1b6dfe

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 62c9d483
1 parent1a9c88e commitb1b6dfe

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

‎c-api/capsule.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version:Python 3.14\n"
88
"Report-Msgid-Bugs-To:\n"
9-
"POT-Creation-Date:2025-06-29 00:17+0000\n"
9+
"POT-Creation-Date:2025-10-25 22:20+0000\n"
1010
"PO-Revision-Date:2018-05-23 14:30+0000\n"
1111
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -29,7 +29,7 @@ msgstr ""
2929
#:../../c-api/capsule.rst:17
3030
msgid""
3131
"This subtype of :c:type:`PyObject` represents an opaque value, useful for C "
32-
"extension moduleswho need to pass an opaque value (as a :c:expr:`void*` "
32+
"extension moduleswhich need to pass an opaque value (as a :c:expr:`void*` "
3333
"pointer) through Python code to other C code. It is often used to make a C "
3434
"function pointer defined in one module available to other modules, so the "
3535
"regular import mechanism can be used to access C APIs defined in dynamically "

‎c-api/code.po‎

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version:Python 3.14\n"
88
"Report-Msgid-Bugs-To:\n"
9-
"POT-Creation-Date:2025-09-08 15:25+0800\n"
9+
"POT-Creation-Date:2025-10-25 22:20+0000\n"
1010
"PO-Revision-Date:2015-12-09 17:51+0000\n"
1111
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1212
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -36,8 +36,8 @@ msgstr ""
3636

3737
#:../../c-api/code.rst:24
3838
msgid""
39-
"This is an instance of :c:type:`PyTypeObject` representing the "
40-
"Python :ref:`code object <code-objects>`."
39+
"This is an instance of :c:type:`PyTypeObject` representing thePython :ref:"
40+
"`code object <code-objects>`."
4141
msgstr""
4242

4343
#:../../c-api/code.rst:30
@@ -73,9 +73,8 @@ msgstr ""
7373

7474
#:../../c-api/code.rst:54
7575
msgid""
76-
"Since the definition of the bytecode changes often, "
77-
"calling :c:func:`PyUnstable_Code_New` directly can bind you to a precise "
78-
"Python version."
76+
"Since the definition of the bytecode changes often, calling :c:func:"
77+
"`PyUnstable_Code_New` directly can bind you to a precise Python version."
7978
msgstr""
8079

8180
#:../../c-api/code.rst:57
@@ -132,9 +131,8 @@ msgstr ""
132131

133132
#:../../c-api/code.rst:101
134133
msgid""
135-
"For efficiently iterating over the line numbers in a code object, "
136-
"use :pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-"
137-
"profilers>`."
134+
"For efficiently iterating over the line numbers in a code object, use :pep:"
135+
"`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
138136
msgstr""
139137

140138
#:../../c-api/code.rst:106
@@ -180,9 +178,9 @@ msgstr ""
180178
#:../../c-api/code.rst:147
181179
msgid""
182180
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
183-
"reference to a :c:type:`PyTupleObject` containing the names of "
184-
"the :term:`free (closure) variables <closure variable>`. On error, ``NULL`` "
185-
"isreturned and an exception is raised."
181+
"reference to a :c:type:`PyTupleObject` containing the names ofthe :term:"
182+
"`free (closure) variables <closure variable>`. On error, ``NULL`` is "
183+
"returned and an exception is raised."
186184
msgstr""
187185

188186
#:../../c-api/code.rst:156
@@ -195,10 +193,10 @@ msgstr ""
195193

196194
#:../../c-api/code.rst:165
197195
msgid""
198-
"Clear watcher identified by *watcher_id* previously returned "
199-
"from :c:func:`PyCode_AddWatcher` for the current interpreter. Return ``0`` "
200-
"on success, or``-1`` and set an exception on error (e.g. if the given "
201-
"*watcher_id* wasnever registered.)"
196+
"Clear watcher identified by *watcher_id* previously returnedfrom :c:func:"
197+
"`PyCode_AddWatcher` for the current interpreter. Return ``0`` on success, or "
198+
"``-1`` and set an exception on error (e.g. if the given *watcher_id* was "
199+
"never registered.)"
202200
msgstr""
203201

204202
#:../../c-api/code.rst:174
@@ -240,8 +238,8 @@ msgstr ""
240238
#:../../c-api/code.rst:201
241239
msgid""
242240
"If the callback sets an exception, it must return ``-1``; this exception "
243-
"will be printed as an unraisable exception "
244-
"using :c:func:`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
241+
"will be printed as an unraisable exceptionusing :c:func:"
242+
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
245243
msgstr""
246244

247245
#:../../c-api/code.rst:205
@@ -259,18 +257,18 @@ msgstr "程式碼物件旗標"
259257

260258
#:../../c-api/code.rst:219
261259
msgid""
262-
"Code objects contain a bit-field of flags, which can be retrieved as "
263-
"the :attr:`~codeobject.co_flags` Python attribute (for example "
264-
"using :c:func:`PyObject_GetAttrString`), and set using a *flags* argument "
265-
"to :c:func:`PyUnstable_Code_New` and similar functions."
260+
"Code objects contain a bit-field of flags, which can be retrieved asthe :"
261+
"attr:`~codeobject.co_flags` Python attribute (for exampleusing :c:func:"
262+
"`PyObject_GetAttrString`), and set using a *flags* argumentto :c:func:"
263+
"`PyUnstable_Code_New` and similar functions."
266264
msgstr""
267265

268266
#:../../c-api/code.rst:224
269267
msgid""
270268
"Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
271-
"selectable by :ref:`future statements <future>`. These flags can be used "
272-
"in :c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags "
273-
"aremandatory in current versions of Python, and setting them has no effect."
269+
"selectable by :ref:`future statements <future>`. These flags can be usedin :"
270+
"c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags are "
271+
"mandatory in current versions of Python, and setting them has no effect."
274272
msgstr""
275273

276274
#:../../c-api/code.rst:230
@@ -378,7 +376,7 @@ msgid ""
378376
msgstr""
379377

380378
#:../../c-api/code.rst:292
381-
msgid"Return a newanopaque index value used to adding data to code objects."
379+
msgid"Return a new opaque index value used to adding data to code objects."
382380
msgstr""
383381

384382
#:../../c-api/code.rst:294
@@ -391,8 +389,8 @@ msgstr ""
391389
#:../../c-api/code.rst:298
392390
msgid""
393391
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
394-
"called on non-``NULL`` data stored under the new index. "
395-
"Use :c:func:`Py_DecRef` when storing :c:type:`PyObject`."
392+
"called on non-``NULL`` data stored under the new index.Use :c:func:"
393+
"`Py_DecRef` when storing :c:type:`PyObject`."
396394
msgstr""
397395

398396
#:../../c-api/code.rst:304

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp