forked from VimPlug/jedi
__class__ -> type
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user