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

Skip to content

Commit 47888da

Browse files
committed
Issue #29009: Merge 3.5.
2 parents d4580ec + bfbc29c commit 47888da

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
@@ -1668,10 +1668,6 @@ They all return *NULL* or ``-1`` if an exception occurs.
16681668
* :const:`Py_True` or :const:`Py_False` for successful comparisons
16691669
* :const:`Py_NotImplemented` in case the type combination is unknown
16701670
1671-
Note that :const:`Py_EQ` and :const:`Py_NE` comparisons can cause a
1672-
:exc:`UnicodeWarning` in case the conversion of the arguments to Unicode fails
1673-
with a :exc:`UnicodeDecodeError`.
1674-
16751671
Possible values for *op* are :const:`Py_GT`, :const:`Py_GE`, :const:`Py_EQ`,
16761672
:const:`Py_NE`, :const:`Py_LT`, and :const:`Py_LE`.
16771673

Include/unicodeobject.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,10 +2075,6 @@ PyAPI_FUNC(int) _PyUnicode_EqualToASCIIString(
20752075
- Py_True or Py_False for successful comparisons
20762076
- Py_NotImplemented in case the type combination is unknown
20772077
2078-
Note that Py_EQ and Py_NE comparisons can cause a UnicodeWarning in
2079-
case the conversion of the arguments to Unicode fails with a
2080-
UnicodeDecodeError.
2081-
20822078
Possible values for op:
20832079
20842080
Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE

0 commit comments

Comments
 (0)