summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-07-18 17:46:31 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-07-18 17:46:31 (GMT)
commit426f4a1c65e59a9b06b42cd37fbe310f46afcee0 (patch)
treee1aacda1856442ac8ba8a8fe346842291f714551
parentac4ae4baf71fd4f14d1965c89529d88da7637c1a (diff)
downloadcpython-426f4a1c65e59a9b06b42cd37fbe310f46afcee0.zip
cpython-426f4a1c65e59a9b06b42cd37fbe310f46afcee0.tar.gz
cpython-426f4a1c65e59a9b06b42cd37fbe310f46afcee0.tar.bz2
Patch #1524429: Use repr instead of backticks again.
-rw-r--r--Lib/lib-tk/Tkinter.py2
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index a69d4db..630286f 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -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)
diff --git a/Misc/NEWS b/Misc/NEWS
index 53f3dc8..9fa594e 100644
--- 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