mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
Fix typo found by Neal Norwitz.
This commit is contained in:
parent
6b59f5f3fd
commit
ae4a299a0d
@ -1778,7 +1778,7 @@ cmpwrapper_call(cmpwrapperobject *co, PyObject *args, PyObject *kwds)
|
||||
if (!PyArg_UnpackTuple(args, "", 2, 2, &x, &y))
|
||||
return NULL;
|
||||
if (!PyObject_TypeCheck(x, &sortwrapper_type) ||
|
||||
!PyObject_TypeCheck(x, &sortwrapper_type)) {
|
||||
!PyObject_TypeCheck(y, &sortwrapper_type)) {
|
||||
PyErr_SetString(PyExc_TypeError,
|
||||
"expected a sortwrapperobject");
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user