Python: Handle __class_getitem__ in py/not-named-self (#2825)

Fixes #2824
This commit is contained in:
jack1142
2020-02-13 13:38:36 +01:00
committed by GitHub
parent dcb41a139c
commit e1644dd68b
2 changed files with 12 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ where
not name = "__new__" and
not name = "__metaclass__" and
not name = "__init_subclass__" and
not name = "__class_getitem__" and
/* declared in scope */
f.getScope() = cls.getScope()
) and