mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Issue #29009: Remove outdated doc of PyUnicode_RichCompare.
This commit is contained in:
parent
c1ee488962
commit
bfbc29cb8f
2 changed files with 0 additions and 8 deletions
|
@ -1663,10 +1663,6 @@ They all return *NULL* or ``-1`` if an exception occurs.
|
||||||
* :const:`Py_True` or :const:`Py_False` for successful comparisons
|
* :const:`Py_True` or :const:`Py_False` for successful comparisons
|
||||||
* :const:`Py_NotImplemented` in case the type combination is unknown
|
* :const:`Py_NotImplemented` in case the type combination is unknown
|
||||||
|
|
||||||
Note that :const:`Py_EQ` and :const:`Py_NE` comparisons can cause a
|
|
||||||
:exc:`UnicodeWarning` in case the conversion of the arguments to Unicode fails
|
|
||||||
with a :exc:`UnicodeDecodeError`.
|
|
||||||
|
|
||||||
Possible values for *op* are :const:`Py_GT`, :const:`Py_GE`, :const:`Py_EQ`,
|
Possible values for *op* are :const:`Py_GT`, :const:`Py_GE`, :const:`Py_EQ`,
|
||||||
:const:`Py_NE`, :const:`Py_LT`, and :const:`Py_LE`.
|
:const:`Py_NE`, :const:`Py_LT`, and :const:`Py_LE`.
|
||||||
|
|
||||||
|
|
|
@ -2047,10 +2047,6 @@ PyAPI_FUNC(int) _PyUnicode_EqualToASCIIString(
|
||||||
- Py_True or Py_False for successful comparisons
|
- Py_True or Py_False for successful comparisons
|
||||||
- Py_NotImplemented in case the type combination is unknown
|
- Py_NotImplemented in case the type combination is unknown
|
||||||
|
|
||||||
Note that Py_EQ and Py_NE comparisons can cause a UnicodeWarning in
|
|
||||||
case the conversion of the arguments to Unicode fails with a
|
|
||||||
UnicodeDecodeError.
|
|
||||||
|
|
||||||
Possible values for op:
|
Possible values for op:
|
||||||
|
|
||||||
Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE
|
Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue