mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 10:37:52 +08:00
test for dots in params (happens sometimes by accident when generating builtins)
This commit is contained in:
@@ -42,6 +42,12 @@ def normalfunc():
|
|||||||
#? int()
|
#? int()
|
||||||
normalfunc()
|
normalfunc()
|
||||||
|
|
||||||
|
# dots in param
|
||||||
|
def f(seq1...=None):
|
||||||
|
return seq1
|
||||||
|
#? int()
|
||||||
|
f(1)
|
||||||
|
|
||||||
|
|
||||||
# first part not complete (raised errors)
|
# first part not complete (raised errors)
|
||||||
if a
|
if a
|
||||||
|
|||||||
Reference in New Issue
Block a user