summaryrefslogtreecommitdiff
path: root/Modules/_winapi.c
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-08-21 14:54:22 +0100
committerRichard Oudkerk <shibturn@gmail.com>2012-08-21 14:54:22 +0100
commitd76d0d56c86a80c40dc6ceb8398d0b36d5e0d0aa (patch)
treea3c0b93a07d34c08bcad9e27e0f480a1fe1b4d16 /Modules/_winapi.c
parent4d030bd1ce218150e925969e271117002020b581 (diff)
downloadcpython-d76d0d56c86a80c40dc6ceb8398d0b36d5e0d0aa.tar.gz
Fix typo in error handling for WaitForMultipleObjects()
Diffstat (limited to 'Modules/_winapi.c')
-rw-r--r--Modules/_winapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c
index af6b5d7e09..1074891ef1 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);