Skip to content

Commit aec6781

Browse files
authored
keywdarg_module
1 parent d65303c commit aec6781

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/extending/extending.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ optionally followed by an import of the module::
487487
initialization when removing entries from ``sys.modules`` or importing
488488
compiled modules into multiple interpreters within a process
489489
(or following a :c:func:`fork` without an intervening :c:func:`exec`).
490-
At least, the :c:data:`Py_mod_multiple_interpreters` slot in the examples
491-
should be ``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``.
490+
In this case, at least the :c:data:`Py_mod_multiple_interpreters` slot
491+
in the examples should be ``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``.
492492

493493
.. _compilation:
494494

@@ -835,7 +835,7 @@ Philbrick ([email protected])::
835835
{0, NULL}
836836
};
837837

838-
static struct PyModuleDef keywdargmodule = {
838+
static struct PyModuleDef keywdarg_module = {
839839
.m_base = PyModuleDef_HEAD_INIT,
840840
.m_name = "keywdarg",
841841
.m_size = 0,
@@ -846,7 +846,7 @@ Philbrick ([email protected])::
846846
PyMODINIT_FUNC
847847
PyInit_keywdarg(void)
848848
{
849-
return PyModuleDef_Init(&keywdargmodule);
849+
return PyModuleDef_Init(&keywdarg_module);
850850
}
851851

852852

0 commit comments

Comments
 (0)