mirror of
https://github.com/python/cpython.git
synced 2025-09-18 06:30:38 +00:00
A little reformating of Py3k warnings
This commit is contained in:
parent
fe4948bcef
commit
f19a7b90bd
11 changed files with 33 additions and 35 deletions
|
@ -339,9 +339,9 @@ code_richcompare(PyObject *self, PyObject *other, int op)
|
|||
!PyCode_Check(other)) {
|
||||
|
||||
/* Py3K warning if types are not equal and comparison
|
||||
isn't == or != */
|
||||
isn't == or != */
|
||||
if (PyErr_WarnPy3k("code inequality comparisons not supported "
|
||||
"in 3.x", 1) < 0) {
|
||||
"in 3.x", 1) < 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue