File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ A pointer to the module definition must be returned via :c:func:`PyModuleDef_Ini
401
401
so that the import machinery can create the module and store it in ``sys.modules ``.
402
402
403
403
When embedding Python, the :c:func: `!PyInit_spam ` function is not called
404
- automatically unless there's an entry in the :c:data: `PyImport_Inittab ` table.
404
+ automatically unless there's an entry in the :c:data: `! PyImport_Inittab ` table.
405
405
To add the module to the initialization table, use :c:func: `PyImport_AppendInittab `,
406
406
optionally followed by an import of the module::
407
407
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ Doc/c-api/module.rst
11
11
Doc/c-api/stable.rst
12
12
Doc/c-api/type.rst
13
13
Doc/c-api/typeobj.rst
14
- Doc/extending/extending.rst
15
14
Doc/library/ast.rst
16
15
Doc/library/asyncio-extending.rst
17
16
Doc/library/email.charset.rst
Original file line number Diff line number Diff line change @@ -4931,7 +4931,7 @@ Patch by Gabriele N. Tornetta
4931
4931
.. nonce: 3p14JB
4932
4932
.. section: C API
4933
4933
4934
- :c:func: `Py_RunMain ` now resets :c:data: `PyImport_Inittab ` to its initial
4934
+ :c:func: `Py_RunMain ` now resets :c:data: `! PyImport_Inittab ` to its initial
4935
4935
value at exit. It must be possible to call :c:func: `PyImport_AppendInittab `
4936
4936
or :c:func: `PyImport_ExtendInittab ` at each Python initialization. Patch by
4937
4937
Victor Stinner.
You can’t perform that action at this time.
0 commit comments