From 74c5c2b2a1f774bb07cfb9bb6a45040a93ef9fc3 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 3 Apr 2010 16:54:02 +0000 Subject: Replace backquotes with repr(), to silence a SyntaxWarning. --- Lib/plat-mac/aetypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/plat-mac/aetypes.py b/Lib/plat-mac/aetypes.py index 5e3555e..a5459c7 100644 --- a/Lib/plat-mac/aetypes.py +++ b/Lib/plat-mac/aetypes.py @@ -131,7 +131,7 @@ class Keyword: self.keyword = "%-4.4s" % str(keyword) def __repr__(self): - return "Keyword(%r)" % `self.keyword` + return "Keyword(%r)" % repr(self.keyword) def __str__(self): return string.strip(self.keyword) -- cgit v0.12