1
0
forked from VimPlug/jedi

__class__ -> type

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

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):
"""