mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-04 04:42:44 +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.
|
||||
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