From 6733927761c0ad5d51a56fd8e3c70eff466a3f6c Mon Sep 17 00:00:00 2001 From: Richard Oudkerk Date: Tue, 21 Aug 2012 14:54:22 +0100 Subject: [PATCH] Fix typo in error handling for WaitForMultipleObjects() --- Modules/_winapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_winapi.c b/Modules/_winapi.c index af6b5d7e098..1074891ef11 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);