Utilities/py3flakes/checker.py

changeset 428
58405c24aa09
parent 421
c32c27fd0794
child 688
b4ea6261967a
--- a/Utilities/py3flakes/checker.py	Thu Jul 29 08:50:45 2010 +0200
+++ b/Utilities/py3flakes/checker.py	Thu Jul 29 11:02:09 2010 +0200
@@ -104,7 +104,8 @@
     importStarred = False       # set to True when import * is found
 
     def __repr__(self):
-        return '<%s at 0x%x %s>' % (self.__class__.__name__, id(self), dict.__repr__(self))
+        return '<{0} at 0x{1:x} {2}>'.format(
+            self.__class__.__name__, id(self), dict.__repr__(self))
 
     def __init__(self):
         super(Scope, self).__init__()

eric ide

mercurial