diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-05 22:13:34 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-05 22:13:34 (GMT) |
commit | 419967b8320be40d7948bde042e92b6e7d1f48a7 (patch) | |
tree | bbdd835e910e5610646af21697eba92d1076d9c6 /Include/unicodeobject.h | |
parent | 7bc01c32b16a4324070ed28847e43c4c7d08eed2 (diff) | |
download | cpython-419967b8320be40d7948bde042e92b6e7d1f48a7.zip cpython-419967b8320be40d7948bde042e92b6e7d1f48a7.tar.gz cpython-419967b8320be40d7948bde042e92b6e7d1f48a7.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 6b6acd7..90f2b72 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -2023,7 +2023,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, |