mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
Fix typo in error handling for WaitForMultipleObjects()
This commit is contained in:
parent
b9717b5e02
commit
6733927761
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue