Fix typo in error handling for WaitForMultipleObjects()

This commit is contained in:
Richard Oudkerk 2012-08-21 14:54:22 +01:00
parent b9717b5e02
commit 6733927761
1 changed files with 1 additions and 1 deletions

View File

@ -1058,7 +1058,7 @@ winapi_WaitForMultipleObjects(PyObject* self, PyObject* args)
if (!PySequence_Check(handle_seq)) { if (!PySequence_Check(handle_seq)) {
PyErr_Format(PyExc_TypeError, PyErr_Format(PyExc_TypeError,
"sequence type expected, got '%s'", "sequence type expected, got '%s'",
Py_TYPE(handle_seq)->tp_doc); Py_TYPE(handle_seq)->tp_name);
return NULL; return NULL;
} }
nhandles = PySequence_Length(handle_seq); nhandles = PySequence_Length(handle_seq);