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.
4 lines
85 B
Python
4 lines
85 B
Python
from typing import NamedTuple
|
|
from b import fields
|
|
|
|
nt = NamedTuple("name", **fields) |