diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-05 22:20:26 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-05 22:20:26 (GMT) |
commit | fb3134f4d489556ff3cb8fcf7e9948bdab2e49d8 (patch) | |
tree | 921dcd951db59be29636959f8bda74cf63b0c111 /Include/unicodeobject.h | |
parent | 9083eb6aac6e0aa0eb1dee9bc535538de4125fcd (diff) | |
parent | 9a953dbb34b722dc16e98ef7103eb49b72a04e5e (diff) | |
download | cpython-fb3134f4d489556ff3cb8fcf7e9948bdab2e49d8.zip cpython-fb3134f4d489556ff3cb8fcf7e9948bdab2e49d8.tar.gz cpython-fb3134f4d489556ff3cb8fcf7e9948bdab2e49d8.tar.bz2 |
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 516e678..0dfe06f 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -2055,7 +2055,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, |