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

Commit21f11f3

Browse files
sync with cpython abaf89d9
1 parent751dc70 commit21f11f3

File tree

11 files changed

+1639
-1590
lines changed

11 files changed

+1639
-1590
lines changed

‎c-api/import.po

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2023-07-27 00:03+0000\n"
11+
"POT-Creation-Date:2023-07-28 00:03+0000\n"
1212
"PO-Revision-Date:2018-05-23 14:06+0000\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -318,26 +318,28 @@ msgstr ""
318318

319319
#:../../c-api/import.rst:297
320320
msgid""
321-
"Structure describing a single entry in the list of built-in modules. Each "
322-
"of these structures gives the name and initialization function for a module "
323-
"built into the interpreter. The name is an ASCII encoded string. Programs "
324-
"which embed Python may use an array of these structures in conjunction with :"
325-
"c:func:`PyImport_ExtendInittab` to provide additional built-in modules. The "
326-
"structure is defined in :file:`Include/import.h` as::"
321+
"Structure describing a single entry in the list of built-in modules. "
322+
"Programs which embed Python may use an array of these structures in "
323+
"conjunction with :c:func:`PyImport_ExtendInittab` to provide additional "
324+
"built-in modules. The structure consists of two members:"
327325
msgstr""
328326

329-
#:../../c-api/import.rst:312
327+
#:../../c-api/import.rst:305
328+
msgid"The module name, as an ASCII encoded string."
329+
msgstr""
330+
331+
#:../../c-api/import.rst:314
330332
msgid""
331333
"Add a collection of modules to the table of built-in modules. The *newtab* "
332-
"array must end with a sentinel entry which contains ``NULL`` for the :attr:"
333-
"`name` field; failure to provide the sentinel value can result in a memory "
334-
"fault. Returns ``0`` on success or ``-1`` if insufficient memory could be "
335-
"allocated to extend the internal table. In the event of failure, no modules "
336-
"are added to the internal table. This must be calledbefore :c:func:"
337-
"`Py_Initialize`."
334+
"array must end with a sentinel entry which contains ``NULL`` for the :c:"
335+
"member:`~_inittab.name` field; failure to provide the sentinel value can "
336+
"result in a memoryfault. Returns ``0`` on success or ``-1`` if insufficient "
337+
"memory could beallocated to extend the internal table. In the event of "
338+
"failure, no modulesare added to the internal table. This must be called "
339+
"before :c:func:`Py_Initialize`."
338340
msgstr""
339341

340-
#:../../c-api/import.rst:319
342+
#:../../c-api/import.rst:321
341343
msgid""
342344
"If Python is initialized multiple times, :c:func:`PyImport_AppendInittab` "
343345
"or :c:func:`PyImport_ExtendInittab` must be called before each Python "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp