mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 21:32:51 +08:00
Fix issues with default parameters in functions and classes
Default parameters were resolved at the wrong starting position. Fixes #1044
This commit is contained in:
1 parent
14ac6b11b9
commit
51e0d5d12f
4 files changed
+38
-4
No files matched your search
@@ -201,6 +201,9 @@ def default_function(a=default):
|
||||
#? int()
|
||||
default_function()
|
||||
|
||||
def default(a=default):
|
||||
#? int()
|
||||
a
|
||||
|
||||
# -----------------
|
||||
# closures
|
||||
|
||||
Reference in new issue
Block a user