diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-27 01:49:29 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-27 01:49:29 (GMT) |
commit | dc2081f72bfef321f60548da4353e7fe91e35e4d (patch) | |
tree | d98975d0d653b3b25cae4017a98cc7cad98e0dc4 /Doc | |
parent | 555a24f206e4d310feb55ddb03cb7eba12d901e7 (diff) | |
download | cpython-dc2081f72bfef321f60548da4353e7fe91e35e4d.zip cpython-dc2081f72bfef321f60548da4353e7fe91e35e4d.tar.gz cpython-dc2081f72bfef321f60548da4353e7fe91e35e4d.tar.bz2 |
Issue #9738: document encodings of unicode functions
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/unicode.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 9edbcbb..fd36356 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -1063,7 +1063,8 @@ They all return *NULL* or ``-1`` if an exception occurs. .. c:function:: int PyUnicode_CompareWithASCIIString(PyObject *uni, char *string) Compare a unicode object, *uni*, with *string* and return -1, 0, 1 for less - than, equal, and greater than, respectively. + than, equal, and greater than, respectively. *string* is an ASCII-encoded + string (it is interpreted as ISO-8859-1). .. c:function:: int PyUnicode_RichCompare(PyObject *left, PyObject *right, int op) |