forked from VimPlug/jedi
Extract: Correct newlines for classes and make it possible to be on a return/yield statement
This commit is contained in:
@@ -129,6 +129,9 @@ class AbstractContext(object):
|
||||
def is_compiled(self):
|
||||
return False
|
||||
|
||||
def is_bound_method(self):
|
||||
return False
|
||||
|
||||
@abstractmethod
|
||||
def py__name__(self):
|
||||
raise NotImplementedError
|
||||
@@ -190,6 +193,9 @@ class ValueContext(AbstractContext):
|
||||
def is_compiled(self):
|
||||
return self._value.is_compiled()
|
||||
|
||||
def is_bound_method(self):
|
||||
return self._value.is_bound_method()
|
||||
|
||||
def py__name__(self):
|
||||
return self._value.py__name__()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user