mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 07:41:51 +08:00
dynamic params works now on all internal classes
This commit is contained in:
@@ -79,10 +79,17 @@ class A():
|
||||
def test(self, a):
|
||||
#? float()
|
||||
a
|
||||
self.c = self.test2()
|
||||
|
||||
def test2(self):
|
||||
##? int()
|
||||
self.a
|
||||
#? int()
|
||||
return self.a
|
||||
|
||||
def test3(self):
|
||||
#? int()
|
||||
self.test2()
|
||||
#? int()
|
||||
self.c
|
||||
|
||||
A(3).test(2.0)
|
||||
A(3).test2()
|
||||
@@ -223,5 +230,5 @@ def add_to_arr(arr, a):
|
||||
return arr
|
||||
|
||||
a = [1.0]
|
||||
#? float() int()
|
||||
##? float() int()
|
||||
add_to_arr(a, 1)[0]
|
||||
|
||||
Reference in New Issue
Block a user