mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-12 17:00:15 +08:00
Tests for issues with default args in dynamic param contexts.
This commit is contained in:
1 parent
d4503c77a5
commit
e0f84ccb86
1 file changed
+3
-1
@@ -2,7 +2,9 @@
|
|||||||
This is used for dynamic object completion.
|
This is used for dynamic object completion.
|
||||||
Jedi tries to guess the types with a backtracking approach.
|
Jedi tries to guess the types with a backtracking approach.
|
||||||
"""
|
"""
|
||||||
def func(a):
|
def func(a, default_arg=2):
|
||||||
|
#? int()
|
||||||
|
default_arg
|
||||||
#? int() str()
|
#? int() str()
|
||||||
return a
|
return a
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user