[Python-checkins] cpython: Issue #12342: Fix compilation on Mac OS X

victor.stinner python-checkins at python.org
Fri Nov 4 09:49:22 CET 2011


http://hg.python.org/cpython/rev/5f49b496d161
changeset:   73346:5f49b496d161
user:        Victor Stinner <vstinner at wyplay.com>
date:        Fri Nov 04 09:49:24 2011 +0100
summary:
  Issue #12342: Fix compilation on Mac OS X

files:
  Modules/_tkinter.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -993,7 +993,7 @@
                 PyErr_Format(PyExc_ValueError,
                              "character U+%x is above the range "
                              "(U+0000-U+FFFF) allowed by Tcl",
-                             inbuf[i]);
+                             ch);
                 ckfree(FREECAST outbuf);
                 return NULL;
 #endif

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list