diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-06 00:17:45 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-06 00:17:45 +0200 |
commit | 9a953dbb34b722dc16e98ef7103eb49b72a04e5e (patch) | |
tree | ec4dbef68599b6502ca6b425ad036c6d8d02f405 /Include/unicodeobject.h | |
parent | Issue #23722: improve __classcell__ compatibility (diff) | |
parent | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. (diff) | |
download | cpython-9a953dbb34b722dc16e98ef7103eb49b72a04e5e.tar.gz cpython-9a953dbb34b722dc16e98ef7103eb49b72a04e5e.tar.bz2 cpython-9a953dbb34b722dc16e98ef7103eb49b72a04e5e.zip |
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 2b65d197fc3..8103a63ec66 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -2051,7 +2051,7 @@ PyAPI_FUNC(int) _PyUnicode_EqualToASCIIId( equal, and greater than, respectively. It is best to pass only ASCII-encoded strings, but the function interprets the input string as ISO-8859-1 if it contains non-ASCII characters. - Raise an exception and return -1 on error. */ + This function does not raise exceptions. */ PyAPI_FUNC(int) PyUnicode_CompareWithASCIIString( PyObject *left, |