From ed3753ef8d1fc136265ba52163a484f67dfb7ecc Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 6 Dec 2016 00:13:34 +0200 Subject: Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. --- Include/unicodeobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include') 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, -- cgit v1.2.1