Debian Codegraph @

test/completion/context.py

raw symbols SCIP
1 class Base():
2 myfoobar = 3
3
4
5 class X(Base):
6 def func(self, foo):
7 pass
8
9
10 class Y(X):
11 def actual_function(self):
12 pass
13
14 #? []
15 def actual_function
16 #? ['func']
17 def f
18
19 #? ['__doc__']
20 __doc__
21 #? []
22 def __doc__
23
24 #? []
25 def __class__
26 #? ['__class__']
27 __class__
28
29
30 #? ['__repr__']
31 def __repr__
32
33 #? []
34 def mro
35
36 #? ['myfoobar']
37 myfoobar
38
39 #? []
40 myfoobar
41
42 # -----------------
43 # Inheritance
44 # -----------------
45
46 class Super():
47 enabled = True
48 if enabled:
49 yo_dude = 4
50
51 class Sub(Super):
52 #? ['yo_dude']
53 yo_dud