File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,13 +272,13 @@ Importing Modules
272272
273273 Structure describing a single entry in the list of built-in modules. Each of
274274 these structures gives the name and initialization function for a module built
275- into the interpreter. Programs which embed Python may use an array of these
276- structures in conjunction with :c:func: ` PyImport_ExtendInittab ` to provide
277- additional built-in modules. The structure is defined in
278- :file: `Include/import.h ` as::
275+ into the interpreter. The name is an ASCII encoded string. Programs which
276+ embed Python may use an array of these structures in conjunction with
277+ :c:func: ` PyImport_ExtendInittab ` to provide additional built-in modules.
278+ The structure is defined in :file: `Include/import.h ` as::
279279
280280 struct _inittab {
281- char *name;
281+ char *name; /* ASCII encoded string */
282282 PyObject* (*initfunc)(void);
283283 };
284284
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ PyAPI_FUNC(int)_PyImport_FixupBuiltin(
8787PyAPI_FUNC (int )_PyImport_FixupExtensionObject (PyObject * , PyObject * , PyObject * );
8888
8989struct _inittab {
90- char * name ;
90+ char * name ; /* ASCII encoded string */
9191 PyObject * (* initfunc )(void );
9292};
9393PyAPI_DATA (struct _inittab * ) PyImport_Inittab ;
You can’t perform that action at this time.
0 commit comments