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 | c6e49d6743e00989891c03edf2f0a76592169b9d (patch) | |
tree | 5a68409a00700287fa6b14b9b148e48dccbb38b9 /Include | |
parent | f1b02866add58317c7f9c6c813c282659981a147 (diff) | |
parent | ed3753ef8d1fc136265ba52163a484f67dfb7ecc (diff) | |
download | cpython-c6e49d6743e00989891c03edf2f0a76592169b9d.tar.gz |
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Diffstat (limited to 'Include')
-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 2b65d197fc..8103a63ec6 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, |