diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-07 17:34:59 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-07 17:34:59 (GMT) |
commit | db536afee14ebd2b74488313e1b1db5cd17fefdc (patch) | |
tree | e3d6e9c3cbe4382c333b6fc96886731f0938acff /Doc | |
parent | 21fcd0c9aff01d69e1e92c1587e59638ff58a690 (diff) | |
download | cpython-db536afee14ebd2b74488313e1b1db5cd17fefdc.zip cpython-db536afee14ebd2b74488313e1b1db5cd17fefdc.tar.gz cpython-db536afee14ebd2b74488313e1b1db5cd17fefdc.tar.bz2 |
Issue #3080: Document the name attribute of the _inittab structure
The name is an ASCII encoded string.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/import.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst index c9556b6..885a752 100644 --- a/Doc/c-api/import.rst +++ b/Doc/c-api/import.rst @@ -272,13 +272,13 @@ Importing Modules Structure describing a single entry in the list of built-in modules. Each of these structures gives the name and initialization function for a module built - into the interpreter. Programs which embed Python may use an array of these - structures in conjunction with :c:func:`PyImport_ExtendInittab` to provide - additional built-in modules. The structure is defined in - :file:`Include/import.h` as:: + into the interpreter. The name is an ASCII encoded string. Programs which + embed Python may use an array of these structures in conjunction with + :c:func:`PyImport_ExtendInittab` to provide additional built-in modules. + The structure is defined in :file:`Include/import.h` as:: struct _inittab { - char *name; + char *name; /* ASCII encoded string */ PyObject* (*initfunc)(void); }; |