summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-12-06 00:17:45 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2016-12-06 00:17:45 +0200
commitc6e49d6743e00989891c03edf2f0a76592169b9d (patch)
tree5a68409a00700287fa6b14b9b148e48dccbb38b9 /Include
parentf1b02866add58317c7f9c6c813c282659981a147 (diff)
parented3753ef8d1fc136265ba52163a484f67dfb7ecc (diff)
downloadcpython-c6e49d6743e00989891c03edf2f0a76592169b9d.tar.gz
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h2
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,