summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-03 16:54:02 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-03 16:54:02 (GMT)
commit74c5c2b2a1f774bb07cfb9bb6a45040a93ef9fc3 (patch)
tree40a987c32aad7f02d5dc1d60e3ed494b12b47716 /Lib
parent920fd66ac6e723246baf6c3ed9f720675811bb15 (diff)
downloadcpython-74c5c2b2a1f774bb07cfb9bb6a45040a93ef9fc3.zip
cpython-74c5c2b2a1f774bb07cfb9bb6a45040a93ef9fc3.tar.gz
cpython-74c5c2b2a1f774bb07cfb9bb6a45040a93ef9fc3.tar.bz2
Replace backquotes with repr(), to silence a SyntaxWarning.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/plat-mac/aetypes.py2
1 files changed, 1 insertions, 1 deletions
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)