Patch #1524429: Use repr instead of backticks again.

This commit is contained in:
Martin v. Löwis 2006-07-18 17:46:31 +00:00
parent ac4ae4baf7
commit 426f4a1c65
2 changed files with 3 additions and 1 deletions

View 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)

View File

@ -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