mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
Both are implemented other the type of the corresponding class. References resolve to any readable attribute of a class, however some obviously wrong variants such as special "dunder" attributes and methods are intentionally excluded from completion suggestions. GitOrigin-RevId: 5edac14f47cba39840b15b0dd7f21e2e46077261
13 lines
145 B
Python
13 lines
145 B
Python
class Base:
|
|
def __init__(self):
|
|
self.inherited_attr = 42
|
|
|
|
|
|
class C(Base):
|
|
pass
|
|
|
|
|
|
match C():
|
|
case C(inh<caret>):
|
|
pass
|