mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
test for lambdas in InstanceElements
This commit is contained in:
@@ -433,3 +433,9 @@ arg_func(1, 2, a=[], b=10)[1]
|
||||
a = lambda: 3
|
||||
#? ['__closure__']
|
||||
a.__closure__
|
||||
|
||||
class C():
|
||||
def __init__(self):
|
||||
self.a = lambda: 1
|
||||
#? int()
|
||||
C().a()
|
||||
|
||||
Reference in New Issue
Block a user