Thomas Heller added the comment:

Here's the bugfix - is it correct?

Added file: http://bugs.python.org/file8603/_ctypes.patch

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1319>
__________________________________
Index: Modules/_ctypes/_ctypes.c
===================================================================
--- Modules/_ctypes/_ctypes.c   (revision 58639)
+++ Modules/_ctypes/_ctypes.c   (working copy)
@@ -2992,7 +2992,7 @@
        /* we can't currently emit a better error message */
        if (name)
                PyErr_Format(PyExc_TypeError,
-                            "required argument '%s' missing", name);
+                            "required argument '%S' missing", name);
        else
                PyErr_Format(PyExc_TypeError,
                             "not enough arguments");
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to