We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ab83f commit 247f1b4Copy full SHA for 247f1b4
Doc/c-api/module.rst
@@ -727,7 +727,7 @@ remove it.
727
728
If the array contains slots corresponding to :c:type:`PyModuleDef`
729
members, the values must match.
730
- For example, if you use :c:macro:`Py_mod_name` in :c:member:`!m_slots`;
+ For example, if you use :c:macro:`Py_mod_name` in :c:member:`!m_slots`,
731
:c:member:`PyModuleDef.m_name` must be set to the same pointer
732
(not just an equal string).
733
Objects/moduleobject.c
@@ -556,7 +556,7 @@ module_from_def_and_spec(
556
#undef DEF_SLOT_CASE
557
#undef COPY_DEF_SLOT
558
#undef COPY_NONDEF_SLOT
559
-#undef _COPY_COMMON_SLOT
+#undef COPY_NONNULL_SLOT
560
}
561
562
#ifdef Py_GIL_DISABLED
0 commit comments