mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-01 07:26:51 +08:00
Tests for issues with default args in dynamic param contexts.
This commit is contained in:
@@ -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