From: Mark Dickinson Date: Sat, 3 Apr 2010 16:54:02 +0000 (+0000) Subject: Replace backquotes with repr(), to silence a SyntaxWarning. X-Git-Tag: v2.7b1~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74c5c2b2a1f774bb07cfb9bb6a45040a93ef9fc3;p=python Replace backquotes with repr(), to silence a SyntaxWarning. --- diff --git a/Lib/plat-mac/aetypes.py b/Lib/plat-mac/aetypes.py index 5e3555e314..a5459c750b 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)