forked from VimPlug/jedi
add a new static_analysis file to test star arguments separately
This commit is contained in:
10
test/static_analysis/star_arguments.py
Normal file
10
test/static_analysis/star_arguments.py
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
def simple(a):
|
||||
return a
|
||||
|
||||
def nested(*args):
|
||||
return simple(*args)
|
||||
|
||||
nested(1)
|
||||
#! 6 type-error-too-few-arguments
|
||||
nested()
|
||||
Reference in New Issue
Block a user