From 3c96ef8905f24179149e12a37c365d4bf35d45c7 Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 24 Jul 2013 16:16:20 +0200 Subject: [PATCH] test for lambdas in InstanceElements --- test/completion/functions.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/completion/functions.py b/test/completion/functions.py index d8275b0d..5483128f 100644 --- a/test/completion/functions.py +++ b/test/completion/functions.py @@ -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()