mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Patch #1524429: Use repr instead of backticks again.
This commit is contained in:
parent
ac4ae4baf7
commit
426f4a1c65
2 changed files with 3 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Variable:
|
||||||
if name:
|
if name:
|
||||||
self._name = name
|
self._name = name
|
||||||
else:
|
else:
|
||||||
self._name = 'PY_VAR' + `_varnum`
|
self._name = 'PY_VAR' + repr(_varnum)
|
||||||
_varnum += 1
|
_varnum += 1
|
||||||
if value != None:
|
if value != None:
|
||||||
self.set(value)
|
self.set(value)
|
||||||
|
|
|
@ -27,6 +27,8 @@ Core and builtins
|
||||||
Library
|
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
|
- 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
|
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
|
the minimum value that is correct. This is to support an undocumented but
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue