1
0
forked from VimPlug/jedi

is_generator is not needed in lambdas.

This commit is contained in:
Dave Halter
2017-04-30 03:07:48 +02:00
parent 1295d73efd
commit 78fd3ad861

View File

@@ -524,10 +524,6 @@ class Lambda(Function):
def _get_param_nodes(self):
return self.children[1:-2]
def is_generator(self):
# TODO this is actually not 100% true.
return False
@property
def annotation(self):
# lambda functions do not support annotations