diff options
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r-- | Objects/codeobject.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c index 57cd2e6264..33b4610c74 100644 --- a/Objects/codeobject.c +++ b/Objects/codeobject.c @@ -338,9 +338,12 @@ code_richcompare(PyObject *self, PyObject *other, int op) !PyCode_Check(self) || !PyCode_Check(other)) { - /* Py3K warning if types are not equal and comparison isn't == or != */ - if (Py_Py3kWarningFlag && PyErr_Warn(PyExc_DeprecationWarning, - "code inequality comparisons not supported in 3.x.") < 0) { + /* Py3K warning if types are not equal and comparison + isn't == or != */ + if (Py_Py3kWarningFlag && + PyErr_Warn(PyExc_DeprecationWarning, + "code inequality comparisons not supported " + "in 3.x") < 0) { return NULL; } |