mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-24 17:28:36 +08:00
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
|
# lambda functions do not support annotations
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@property
|
|
||||||
def yields(self):
|
|
||||||
# TODO rename
|
|
||||||
return []
|
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<%s@%s>" % (self.__class__.__name__, self.start_pos)
|
return "<%s@%s>" % (self.__class__.__name__, self.start_pos)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user