[Python-checkins] cpython: Fix typo in error handling for WaitForMultipleObjects()
richard.oudkerk
python-checkins at python.org
Tue Aug 21 15:56:12 CEST 2012
http://hg.python.org/cpython/rev/ca54c27a9045
changeset: 78697:ca54c27a9045
user: Richard Oudkerk <shibturn at gmail.com>
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
More information about the Python-checkins
mailing list