diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:43:57 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:43:57 (GMT) |
commit | eda71c9ef19b4b5520add452365b19d34023905e (patch) | |
tree | 4b232532897693f43bdd242f074c36cd824a31d5 /Include/pycapsule.h | |
parent | cc76a410e22b87841acc83610e8a9954fc2dd82e (diff) | |
download | cpython-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/pycapsule.h')
-rw-r--r-- | Include/pycapsule.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pycapsule.h b/Include/pycapsule.h index eba82ee..d9ecda7 100644 --- a/Include/pycapsule.h +++ b/Include/pycapsule.h @@ -48,7 +48,9 @@ PyAPI_FUNC(int) PyCapsule_SetName(PyObject *capsule, const char *name); PyAPI_FUNC(int) PyCapsule_SetContext(PyObject *capsule, void *context); -PyAPI_FUNC(void *) PyCapsule_Import(const char *name, int no_block); +PyAPI_FUNC(void *) PyCapsule_Import( + const char *name, /* UTF-8 encoded string */ + int no_block); #ifdef __cplusplus |