__class__ -> type

This commit is contained in:
David Halter committed 2012-10-01 08:50:12 +02:00
1 parent 61f465a7d6
commit eda2430ad7
6 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ class ImportPath(object):
self.import_path.pop()
def __repr__(self):
return '<%s: %s>' % (self.__class__.__name__, self.import_stmt)
return '<%s: %s>' % (type(self).__name__, self.import_stmt)
def is_nested_import(self):
"""