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/macurl2path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/macurl2path.py') diff --git a/Lib/macurl2path.py b/Lib/macurl2path.py index 3c1acc02b7..ed23883cfd 100644 --- a/Lib/macurl2path.py +++ b/Lib/macurl2path.py @@ -80,7 +80,7 @@ def test(): "/foo/bar/index.html", "/foo/bar/", "/"]: - print `url`, '->', `url2pathname(url)` + print '%r -> %r' % (url, url2pathname(url)) for path in ["drive:", "drive:dir:", "drive:dir:file", @@ -89,7 +89,7 @@ def test(): ":file", ":dir:", ":dir:file"]: - print `path`, '->', `pathname2url(path)` + print '%r -> %r' % (path, pathname2url(path)) if __name__ == '__main__': test() -- cgit v1.2.1