Remove yields from lambda. It was previously removed from Function.
This commit is contained in:
1 parent
076eea12bd
commit
e2d6c39ede
1 file changed
-5
@@ -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