[Python-checkins] r79710 - python/trunk/Lib/plat-mac/aetypes.py

mark.dickinson python-checkins at python.org
Sat Apr 3 18:54:02 CEST 2010


Author: mark.dickinson
Date: Sat Apr  3 18:54:02 2010
New Revision: 79710

Log:
Replace backquotes with repr(), to silence a SyntaxWarning.

Modified:
   python/trunk/Lib/plat-mac/aetypes.py

Modified: python/trunk/Lib/plat-mac/aetypes.py
==============================================================================
--- python/trunk/Lib/plat-mac/aetypes.py	(original)
+++ python/trunk/Lib/plat-mac/aetypes.py	Sat Apr  3 18:54:02 2010
@@ -131,7 +131,7 @@
         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)


More information about the Python-checkins mailing list