diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-06 00:13:34 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-06 00:13:34 +0200 |
commit | 419967b8320be40d7948bde042e92b6e7d1f48a7 (patch) | |
tree | bbdd835e910e5610646af21697eba92d1076d9c6 /Include/unicodeobject.h | |
parent | 7bc01c32b16a4324070ed28847e43c4c7d08eed2 (diff) | |
download | cpython-git-419967b8320be40d7948bde042e92b6e7d1f48a7.tar.gz |
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 6b6acd7353..90f2b72c20 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, |