summaryrefslogtreecommitdiffstats
path: root/Lib/stringold.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stringold.py')
-rw-r--r--Lib/stringold.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stringold.py b/Lib/stringold.py
index 2ee0ad9..dd2d584 100644
--- a/Lib/stringold.py
+++ b/Lib/stringold.py
@@ -312,7 +312,7 @@ def zfill(x, width):
"""
if type(x) == type(''): s = x
- else: s = `x`
+ else: s = repr(x)
n = len(s)
if n >= width: return s
sign = ''