Skip to content

Commit 26c95c0

Browse files
committed
Document PyImport_Inittab
1 parent 92972ae commit 26c95c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/c-api/import.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,13 @@ Importing Modules
314314
initialization.
315315
316316
317+
.. c:var:: struct _inittab *PyImport_Inittab
318+
319+
The table of built-in modules used by Python. Do not use this directly; use
320+
:c:func:`PyImport_ExtendInittab` and :c:func:`PyImport_AppendInittab`
321+
instead.
322+
323+
317324
.. c:function:: PyObject* PyImport_ImportModuleAttr(PyObject *mod_name, PyObject *attr_name)
318325
319326
Import the module *mod_name* and get its attribute *attr_name*.

0 commit comments

Comments
 (0)