mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
position stuff works now also with function that are located after the just called function
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
def array(first_param):
|
||||
#? ['first_param']
|
||||
first_param
|
||||
@@ -66,6 +65,24 @@ def recursion(a, b):
|
||||
##? int() float()
|
||||
recursion("a", 1.0)
|
||||
|
||||
# -----------------
|
||||
# ordering
|
||||
# -----------------
|
||||
|
||||
#def b():
|
||||
#return ""
|
||||
|
||||
def a():
|
||||
#? int()
|
||||
b()
|
||||
return b()
|
||||
|
||||
def b():
|
||||
return 1
|
||||
|
||||
#? int()
|
||||
a()
|
||||
|
||||
# -----------------
|
||||
# keyword arguments
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user