mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +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
15 lines
174 B
Python
15 lines
174 B
Python
class Base:
|
|
@property
|
|
def foo(self):
|
|
return 42
|
|
|
|
|
|
class Class(Base):
|
|
pass
|
|
|
|
|
|
match Class():
|
|
case Class(foo=42):
|
|
# <ref>
|
|
pass
|
|
|