]> granicus.if.org Git - python/commitdiff
Replace backquotes with repr(), to silence a SyntaxWarning.
authorMark Dickinson <dickinsm@gmail.com>
Sat, 3 Apr 2010 16:54:02 +0000 (16:54 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 3 Apr 2010 16:54:02 +0000 (16:54 +0000)
Lib/plat-mac/aetypes.py

index 5e3555e3142e057db43f688675612ebc72b2bc2e..a5459c750b1934351fcd95330241821a1f258554 100644 (file)
@@ -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)