summaryrefslogtreecommitdiffstats
path: root/Include/moduleobject.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-02-22 23:43:57 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-02-22 23:43:57 (GMT)
commiteda71c9ef19b4b5520add452365b19d34023905e (patch)
tree4b232532897693f43bdd242f074c36cd824a31d5 /Include/moduleobject.h
parentcc76a410e22b87841acc83610e8a9954fc2dd82e (diff)
downloadcpython-eda71c9ef19b4b5520add452365b19d34023905e.zip
cpython-eda71c9ef19b4b5520add452365b19d34023905e.tar.gz
cpython-eda71c9ef19b4b5520add452365b19d34023905e.tar.bz2
Merged revisions 88517 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88517 | victor.stinner | 2011-02-23 00:38:34 +0100 (mer., 23 févr. 2011) | 1 line Issue #3080: document encoding used by import functions ........
Diffstat (limited to 'Include/moduleobject.h')
-rw-r--r--Include/moduleobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h
index 338cf4b..7b2bf1c 100644
--- a/Include/moduleobject.h
+++ b/Include/moduleobject.h
@@ -12,7 +12,9 @@ PyAPI_DATA(PyTypeObject) PyModule_Type;
#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
#define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)
-PyAPI_FUNC(PyObject *) PyModule_New(const char *);
+PyAPI_FUNC(PyObject *) PyModule_New(
+ const char *name /* UTF-8 encoded string */
+ );
PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);
PyAPI_FUNC(const char *) PyModule_GetName(PyObject *);
PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *);