mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
position stuff works now also with function that are located after the just called function
This commit is contained in:
@@ -187,3 +187,25 @@ class V:
|
||||
|
||||
##? int()
|
||||
V().b()
|
||||
|
||||
# -----------------
|
||||
# ordering
|
||||
# -----------------
|
||||
class A():
|
||||
def b(self):
|
||||
#? int()
|
||||
a()
|
||||
#? str()
|
||||
self.a()
|
||||
return a()
|
||||
|
||||
def a(self):
|
||||
return ""
|
||||
|
||||
def a():
|
||||
return 1
|
||||
|
||||
#? int()
|
||||
A().b()
|
||||
#? str()
|
||||
A().a()
|
||||
|
||||
Reference in New Issue
Block a user