(original) (raw)
changeset: 105742:8f5ed2a38f64 branch: 3.5 parent: 105738:5a542a2bca08 user: Xiang Zhang angwerzx@126.com date: Mon Dec 19 18:35:14 2016 +0800 files: Doc/c-api/unicode.rst Include/unicodeobject.h description: Issue #29009: Remove outdated doc of PyUnicode_RichCompare. diff -r 5a542a2bca08 -r 8f5ed2a38f64 Doc/c-api/unicode.rst --- a/Doc/c-api/unicode.rst Mon Dec 19 10:56:40 2016 +0100 +++ b/Doc/c-api/unicode.rst Mon Dec 19 18:35:14 2016 +0800 @@ -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 -r 5a542a2bca08 -r 8f5ed2a38f64 Include/unicodeobject.h --- a/Include/unicodeobject.h Mon Dec 19 10:56:40 2016 +0100 +++ b/Include/unicodeobject.h Mon Dec 19 18:35:14 2016 +0800 @@ -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 /angwerzx@126.com