mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-15 17:12:35 +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.
|
||||
Jedi tries to guess the types with a backtracking approach.
|
||||
"""
|
||||
def func(a):
|
||||
def func(a, default_arg=2):
|
||||
#? int()
|
||||
default_arg
|
||||
#? int() str()
|
||||
return a
|
||||
|
||||
|
||||
Reference in new issue
Block a user