diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:38:34 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:38:34 (GMT) |
commit | d7e76405c7c1afe830faf40646b704be5c51ad51 (patch) | |
tree | e96eb484781aa763700c7494e966847452dc84b3 /Include/pycapsule.h | |
parent | 42040fb66571cbd3929f3141d6841d2e4fe047a0 (diff) | |
download | cpython-d7e76405c7c1afe830faf40646b704be5c51ad51.zip cpython-d7e76405c7c1afe830faf40646b704be5c51ad51.tar.gz cpython-d7e76405c7c1afe830faf40646b704be5c51ad51.tar.bz2 |
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 |