mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-01 22:47:31 +08:00
first version of too many arguments detection
This commit is contained in:
1 parent
a252d825f2
commit
4ecc150d85
3 files changed
+28
No files matched your search
@@ -0,0 +1,16 @@
|
||||
def simple(a):
|
||||
return a
|
||||
|
||||
simple(1)
|
||||
simple()
|
||||
#! 10 type-error-too-many-params
|
||||
simple(1, 2)
|
||||
|
||||
|
||||
def nested(*args):
|
||||
return simple(*args)
|
||||
|
||||
nested(1)
|
||||
nested()
|
||||
#! 10 type-error-too-many-params
|
||||
simple(1, 2, 3)
|
||||
Reference in new issue
Block a user