From: Richard Oudkerk Date: Tue, 21 Aug 2012 13:54:22 +0000 (+0100) Subject: Fix typo in error handling for WaitForMultipleObjects() X-Git-Tag: v3.3.0rc1~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6733927761c0ad5d51a56fd8e3c70eff466a3f6c;p=thirdparty%2FPython%2Fcpython.git Fix typo in error handling for WaitForMultipleObjects() --- diff --git a/Modules/_winapi.c b/Modules/_winapi.c index af6b5d7e0989..1074891ef11a 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);