mirror of
https://github.com/python/cpython.git
synced 2025-07-20 17:55:21 +00:00
Fix typo found by Neal Norwitz.
This commit is contained in:
parent
6b59f5f3fd
commit
ae4a299a0d
1 changed files with 1 additions and 1 deletions
|
@ -1778,7 +1778,7 @@ cmpwrapper_call(cmpwrapperobject *co, PyObject *args, PyObject *kwds)
|
||||||
if (!PyArg_UnpackTuple(args, "", 2, 2, &x, &y))
|
if (!PyArg_UnpackTuple(args, "", 2, 2, &x, &y))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (!PyObject_TypeCheck(x, &sortwrapper_type) ||
|
if (!PyObject_TypeCheck(x, &sortwrapper_type) ||
|
||||||
!PyObject_TypeCheck(x, &sortwrapper_type)) {
|
!PyObject_TypeCheck(y, &sortwrapper_type)) {
|
||||||
PyErr_SetString(PyExc_TypeError,
|
PyErr_SetString(PyExc_TypeError,
|
||||||
"expected a sortwrapperobject");
|
"expected a sortwrapperobject");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue