forked from VimPlug/jedi
Remove yields from lambda. It was previously removed from Function.
This commit is contained in:
@@ -533,11 +533,6 @@ class Lambda(Function):
|
||||
# lambda functions do not support annotations
|
||||
return None
|
||||
|
||||
@property
|
||||
def yields(self):
|
||||
# TODO rename
|
||||
return []
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s@%s>" % (self.__class__.__name__, self.start_pos)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user