]> granicus.if.org Git - python/commitdiff
Patch #1524429: Use repr instead of backticks again.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 18 Jul 2006 17:46:31 +0000 (17:46 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 18 Jul 2006 17:46:31 +0000 (17:46 +0000)
Lib/lib-tk/Tkinter.py
Misc/NEWS

index a69d4db14fb83143fc0d7cdadf4bd2b7d5d8a65b..630286f7df3ccc222a99bdceb3c7919b8a751544 100644 (file)
@@ -186,7 +186,7 @@ class Variable:
         if name:
             self._name = name
         else:
-            self._name = 'PY_VAR' + `_varnum`
+            self._name = 'PY_VAR' + repr(_varnum)
             _varnum += 1
         if value != None:
             self.set(value)
index 53f3dc8349861cc1cedf7e8baee7896843f05be7..9fa594e0cecd8f27917fb53db98617530b4b3eed 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -27,6 +27,8 @@ Core and builtins
 Library
 -------
 
+- Patch #1524429: Use repr() instead of backticks in Tkinter again.
+
 - Bug #1520914: Change time.strftime() to accept a zero for any position in its
   argument tuple.  For arguments where zero is illegal, the value is forced to
   the minimum value that is correct.  This is to support an undocumented but