File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
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
426
426
so that the import machinery can create the module and store it in ``sys.modules ``.
427
427
428
428
When 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.
430
430
To add the module to the initialization table, use :c:func: `PyImport_AppendInittab `,
431
431
optionally followed by an import of the module::
432
432
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