mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
Update resolve for `[]` on definitions so `__class_getitem__` is supported. Support this method (and `__mro_entries__`) in highlighting and completion. Process it as a static method.
3 lines
219 B
Python
3 lines
219 B
Python
class <info descr="PY.CLASS_DEFINITION">A</info>:
|
|
def <info descr="PY.PREDEFINED_DEFINITION">__class_getitem__</info>(<info descr="PY.SELF_PARAMETER">cls</info>, <info descr="PY.PARAMETER">item</info>):
|
|
pass |