Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfbc29c

Browse files
committed
Issue #29009: Remove outdated doc of PyUnicode_RichCompare.
1 parent c1ee488 commit bfbc29c

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

Doc/c-api/unicode.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,10 +1663,6 @@ They all return *NULL* or ``-1`` if an exception occurs.
16631663
* :const:`Py_True` or :const:`Py_False` for successful comparisons
16641664
* :const:`Py_NotImplemented` in case the type combination is unknown
16651665
1666-
Note that :const:`Py_EQ` and :const:`Py_NE` comparisons can cause a
1667-
:exc:`UnicodeWarning` in case the conversion of the arguments to Unicode fails
1668-
with a :exc:`UnicodeDecodeError`.
1669-
16701666
Possible values for *op* are :const:`Py_GT`, :const:`Py_GE`, :const:`Py_EQ`,
16711667
:const:`Py_NE`, :const:`Py_LT`, and :const:`Py_LE`.
16721668

Include/unicodeobject.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,10 +2047,6 @@ PyAPI_FUNC(int) _PyUnicode_EqualToASCIIString(
20472047
- Py_True or Py_False for successful comparisons
20482048
- Py_NotImplemented in case the type combination is unknown
20492049
2050-
Note that Py_EQ and Py_NE comparisons can cause a UnicodeWarning in
2051-
case the conversion of the arguments to Unicode fails with a
2052-
UnicodeDecodeError.
2053-
20542050
Possible values for op:
20552051
20562052
Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE

0 commit comments

Comments
 (0)