mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Infer `tuple` class type when `collections.namedtuple` could not be analyzed. Infer `namedtuple` class type when `typing.NamedTuple` could not be analyzed. Create callable type for `typing.Callable`. Update ignoring `__getitem__` for ancestors, docstrings and annotations. Infer superclass collection type correctly.
5 lines
76 B
Python
5 lines
76 B
Python
from typing import List
|
|
class A(List[int]):
|
|
pass
|
|
A().append()
|
|
# <ref> |