mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +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
|
@ -2038,7 +2038,7 @@ listsort(PyListObject *self, PyObject *args, PyObject *kwds)
|
|||
if (compare == Py_None)
|
||||
compare = NULL;
|
||||
if (compare != NULL &&
|
||||
PyErr_WarnPy3k("the cmp argument is not supported in 3.x", 1) < 0)
|
||||
PyErr_WarnPy3k("the cmp argument is not supported in 3.x", 1) < 0)
|
||||
return NULL;
|
||||
if (keyfunc == Py_None)
|
||||
keyfunc = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue