
python-checkins at python
Aug 21, 2012, 6:56 AM
Post #1 of 1
(34 views)
Permalink
|
|
cpython: Fix typo in error handling for WaitForMultipleObjects()
|
|
http://hg.python.org/cpython/rev/ca54c27a9045 changeset: 78697:ca54c27a9045 user: Richard Oudkerk <shibturn [at] gmail> date: Tue Aug 21 14:54:22 2012 +0100 summary: Fix typo in error handling for WaitForMultipleObjects() files: Modules/_winapi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Modules/_winapi.c b/Modules/_winapi.c --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -1058,7 +1058,7 @@ 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); -- Repository URL: http://hg.python.org/cpython
|