From 70a6b49821a3226f55e9716f32d802d06640cb89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Thu, 12 Feb 2004 17:35:32 +0000 Subject: Replace backticks with repr() or "%r" From SF patch #852334. --- Lib/stringold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/stringold.py') diff --git a/Lib/stringold.py b/Lib/stringold.py index 2ee0ad950a..dd2d584f70 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 = '' -- cgit v1.2.1