mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
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 ........
This commit is contained in:
parent
cc76a410e2
commit
eda71c9ef1
3 changed files with 51 additions and 16 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue