Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython: Fix typo in error handling for WaitForMultipleObjects()

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


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

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.