File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,12 @@ instance must be initialized with the following function:
296296 .. versionadded :: 3.5
297297
298298The *m_slots * member of the module definition must point to an array of
299- ``PyModuleDef_Slot `` structures:
299+ :c:type: `PyModuleDef_Slot ` structures, terminated by a slot with id 0.
300+
301+ See :PEP: `489 ` for more details on multi-phase initialization.
302+
303+ Module slots
304+ ............
300305
301306.. c :type :: PyModuleDef_Slot
302307
@@ -310,8 +315,6 @@ The *m_slots* member of the module definition must point to an array of
310315
311316 .. versionadded :: 3.5
312317
313- The *m_slots * array must be terminated by a slot with id 0.
314-
315318The available slot types are:
316319
317320.. c :macro :: Py_mod_create
@@ -422,8 +425,6 @@ The available slot types are:
422425
423426 .. versionadded:: 3.13
424427
425- See :PEP:`489` for more details on multi-phase initialization.
426-
427428.. _single-phase-initialization:
428429
429430Single-phase initialization
You can’t perform that action at this time.
0 commit comments