forked from VimPlug/jedi
is_generator is not needed in lambdas.
This commit is contained in:
@@ -524,10 +524,6 @@ class Lambda(Function):
|
|||||||
def _get_param_nodes(self):
|
def _get_param_nodes(self):
|
||||||
return self.children[1:-2]
|
return self.children[1:-2]
|
||||||
|
|
||||||
def is_generator(self):
|
|
||||||
# TODO this is actually not 100% true.
|
|
||||||
return False
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def annotation(self):
|
def annotation(self):
|
||||||
# lambda functions do not support annotations
|
# lambda functions do not support annotations
|
||||||
|
|||||||
Reference in New Issue
Block a user