diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2012-08-21 13:54:22 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2012-08-21 13:54:22 (GMT) |
commit | 6733927761c0ad5d51a56fd8e3c70eff466a3f6c (patch) | |
tree | 0851088d63bee5b7f5461e386309716af402945a /Modules | |
parent | b9717b5e022086c057f5c19b7a124a7800aa052a (diff) | |
download | cpython-6733927761c0ad5d51a56fd8e3c70eff466a3f6c.zip cpython-6733927761c0ad5d51a56fd8e3c70eff466a3f6c.tar.gz cpython-6733927761c0ad5d51a56fd8e3c70eff466a3f6c.tar.bz2 |
Fix typo in error handling for WaitForMultipleObjects()
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_winapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c index af6b5d7..1074891 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -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); |