diff --git a/jedi/parser/python/tree.py b/jedi/parser/python/tree.py index 2268e2bd..3a4f2da7 100644 --- a/jedi/parser/python/tree.py +++ b/jedi/parser/python/tree.py @@ -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