Fix typo in error handling for WaitForMultipleObjects()
This commit is contained in:
parent
b9717b5e02
commit
6733927761
|
@ -1058,7 +1058,7 @@ winapi_WaitForMultipleObjects(PyObject* self, PyObject* args)
|
|||
if (!PySequence_Check(handle_seq)) {
|
||||
PyErr_Format(PyExc_TypeError,
|
||||
"sequence type expected, got '%s'",
|
||||
Py_TYPE(handle_seq)->tp_doc);
|
||||
Py_TYPE(handle_seq)->tp_name);
|
||||
return NULL;
|
||||
}
|
||||
nhandles = PySequence_Length(handle_seq);
|
||||
|
|
Loading…
Reference in New Issue