Fix __call__ param completion. Fixes #613.

This commit is contained in:
Dave Halter
2016-07-31 21:37:01 +02:00
parent 5f064a2a0a
commit 62e184134b
3 changed files with 24 additions and 4 deletions

View File

@@ -33,3 +33,16 @@ multiple(foo, bar
my_lambda = lambda lambda_param: lambda_param + 1
#? 22 ['lambda_param']
my_lambda(lambda_param)
# __call__
class Test(object):
def __init__(self, hello_other):
pass
def __call__(self, hello):
pass
#? 12 ['hello']
Test()(hello=)
#? 11 []
Test()(self=)