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 @@ -426,7 +426,7 @@ A pointer to the module definition must be returned via :c:func:`PyModuleDef_Ini
426426so that the import machinery can create the module and store it in ``sys.modules ``.
427427
428428When embedding Python, the :c:func: `!PyInit_spam ` function is not called
429- automatically unless there's an entry in the :c:data: `PyImport_Inittab ` table.
429+ automatically unless there's an entry in the :c:data: `! PyImport_Inittab ` table.
430430To add the module to the initialization table, use :c:func: `PyImport_AppendInittab `,
431431optionally followed by an import of the module::
432432
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ Doc/c-api/module.rst
1111Doc/c-api/stable.rst
1212Doc/c-api/type.rst
1313Doc/c-api/typeobj.rst
14- Doc/extending/extending.rst
1514Doc/library/ast.rst
1615Doc/library/asyncio-extending.rst
1716Doc/library/email.charset.rst
Original file line number Diff line number Diff line change @@ -4931,7 +4931,7 @@ Patch by Gabriele N. Tornetta
49314931.. nonce: 3p14JB
49324932.. section: C API
49334933
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
49354935value at exit. It must be possible to call :c:func: `PyImport_AppendInittab `
49364936or :c:func: `PyImport_ExtendInittab ` at each Python initialization. Patch by
49374937Victor Stinner.
You can’t perform that action at this time.
0 commit comments