mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
This commit is contained in:
parent
7bc01c32b1
commit
419967b832
4 changed files with 20 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue