|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version:Python 3.12\n" |
10 | 10 | "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" |
12 | 12 | "PO-Revision-Date:2018-05-23 14:06+0000\n" |
13 | 13 | "Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n" |
14 | 14 | "Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-" |
@@ -318,26 +318,28 @@ msgstr "" |
318 | 318 |
|
319 | 319 | #:../../c-api/import.rst:297 |
320 | 320 | 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:" |
327 | 325 | msgstr"" |
328 | 326 |
|
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 |
330 | 332 | msgid"" |
331 | 333 | "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`." |
338 | 340 | msgstr"" |
339 | 341 |
|
340 | | -#:../../c-api/import.rst:319 |
| 342 | +#:../../c-api/import.rst:321 |
341 | 343 | msgid"" |
342 | 344 | "If Python is initialized multiple times, :c:func:`PyImport_AppendInittab` " |
343 | 345 | "or :c:func:`PyImport_ExtendInittab` must be called before each Python " |
|