diff options
| author | Richard Oudkerk <shibturn@gmail.com> | 2012-08-21 14:54:22 +0100 |
|---|---|---|
| committer | Richard Oudkerk <shibturn@gmail.com> | 2012-08-21 14:54:22 +0100 |
| commit | d76d0d56c86a80c40dc6ceb8398d0b36d5e0d0aa (patch) | |
| tree | a3c0b93a07d34c08bcad9e27e0f480a1fe1b4d16 /Modules | |
| parent | 4d030bd1ce218150e925969e271117002020b581 (diff) | |
| download | cpython-d76d0d56c86a80c40dc6ceb8398d0b36d5e0d0aa.tar.gz | |
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 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); |
