mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-17 05:49:37 +08:00
__class__ -> type
This commit is contained in:
+1
-1
@@ -467,7 +467,7 @@ class BaseOutput(object):
|
||||
raise NotImplementedError('Base Class')
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s %s>" % (self.__class__.__name__, self.description)
|
||||
return "<%s %s>" % (type(self).__name__, self.description)
|
||||
|
||||
|
||||
class RelatedName(BaseOutput):
|
||||
|
||||
Reference in New Issue
Block a user