summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2016-12-19 10:35:14 (GMT)
committerXiang Zhang <angwerzx@126.com>2016-12-19 10:35:14 (GMT)
commitbfbc29cb8f5797f239a6ad8944edfea4e153cb75 (patch)
tree62fa9de305e555053b0fbd1f8390290b7e4a6472 /Doc
parentc1ee488962f0a20c2814b14a4c29d6082dd38add (diff)
downloadcpython-bfbc29cb8f5797f239a6ad8944edfea4e153cb75.zip
cpython-bfbc29cb8f5797f239a6ad8944edfea4e153cb75.tar.gz
cpython-bfbc29cb8f5797f239a6ad8944edfea4e153cb75.tar.bz2
Issue #29009: Remove outdated doc of PyUnicode_RichCompare.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/unicode.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 3c7b9cc..457a9be 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -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_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`,
:const:`Py_NE`, :const:`Py_LT`, and :const:`Py_LE`.