mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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:
|
||||
self._name = name
|
||||
else:
|
||||
self._name = 'PY_VAR' + `_varnum`
|
||||
self._name = 'PY_VAR' + repr(_varnum)
|
||||
_varnum += 1
|
||||
if value != None:
|
||||
self.set(value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue