Mercurial > cpython-lru_cache-weakref
diff Include/import.h @ 68714:e63a583ec689
Issue #3080: Document the name attribute of the _inittab structure
The name is an ASCII encoded string.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Mon, 07 Mar 2011 18:34:59 +0100 |
| parents | 2425717c6430 |
| children | 80f4bd647695 |
line wrap: on
line diff
--- a/Include/import.h Mon Mar 07 18:28:15 2011 +0100 +++ b/Include/import.h Mon Mar 07 18:34:59 2011 +0100 @@ -87,7 +87,7 @@ PyAPI_FUNC(int)_PyImport_FixupExtensionObject(PyObject*, PyObject *, PyObject *); struct _inittab { - char *name; + char *name; /* ASCII encoded string */ PyObject* (*initfunc)(void); }; PyAPI_DATA(struct _inittab *) PyImport_Inittab;
