[Python-checkins] cpython (3.5): Issue #29009: Remove outdated doc of PyUnicode_RichCompare.
xiang.zhang
python-checkins at python.org
Mon Dec 19 05:43:38 EST 2016
https://hg.python.org/cpython/rev/8f5ed2a38f64
changeset: 105742:8f5ed2a38f64
branch: 3.5
parent: 105738:5a542a2bca08
user: Xiang Zhang <angwerzx at 126.com>
date: Mon Dec 19 18:35:14 2016 +0800
summary:
Issue #29009: Remove outdated doc of PyUnicode_RichCompare.
files:
Doc/c-api/unicode.rst | 4 ----
Include/unicodeobject.h | 4 ----
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -1663,10 +1663,6 @@
* :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`.
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -2047,10 +2047,6 @@
- Py_True or Py_False for successful comparisons
- 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:
Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list