mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-02 02:13:45 +08:00
Add a failing test for an inheritanc context completion issue.
This commit is contained in:
1 parent
9fb2644f03
commit
89ec207f49
1 file changed
+13
@@ -291,3 +291,16 @@ elif 3 == flow_import.env:
|
||||
|
||||
#? int() str()
|
||||
a
|
||||
|
||||
# -----------------
|
||||
# Inheritance
|
||||
# -----------------
|
||||
|
||||
class Super():
|
||||
enabled = True
|
||||
if enabled:
|
||||
yo_dude = 4
|
||||
|
||||
class Sub(Super):
|
||||
#? ['yo_dude']
|
||||
yo_dud
|
||||
Reference in new issue
Block a user