Skip to content

Commit 247f1b4

Browse files
authored
Apply suggestions from GH UI
1 parent 48ab83f commit 247f1b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/c-api/module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ remove it.
727727
728728
If the array contains slots corresponding to :c:type:`PyModuleDef`
729729
members, the values must match.
730-
For example, if you use :c:macro:`Py_mod_name` in :c:member:`!m_slots`;
730+
For example, if you use :c:macro:`Py_mod_name` in :c:member:`!m_slots`,
731731
:c:member:`PyModuleDef.m_name` must be set to the same pointer
732732
(not just an equal string).
733733

Objects/moduleobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ module_from_def_and_spec(
556556
#undef DEF_SLOT_CASE
557557
#undef COPY_DEF_SLOT
558558
#undef COPY_NONDEF_SLOT
559-
#undef _COPY_COMMON_SLOT
559+
#undef COPY_NONNULL_SLOT
560560
}
561561

562562
#ifdef Py_GIL_DISABLED

0 commit comments

Comments
 (0)