mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-15 10:07:06 +08:00
before assignment goto test, #305
This commit is contained in:
@@ -76,6 +76,12 @@ c
|
|||||||
#! 0 ['def c']
|
#! 0 ['def c']
|
||||||
c()
|
c()
|
||||||
|
|
||||||
|
class BeforeAssignment():
|
||||||
|
x = 3
|
||||||
|
def __init__(self):
|
||||||
|
#! 13 ['x = 3']
|
||||||
|
self.x = ''
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# imports
|
# imports
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user