drop ellipsis assignments from module vars, classvars and instance attrs (#5914)

Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
Oleg Höfling
2021-08-11 19:26:58 +02:00
committed by GitHub
parent 6c41e3cead
commit 64f481189f
34 changed files with 325 additions and 325 deletions

View File

@@ -663,7 +663,7 @@ def cast(typ: object, val: Any) -> Any: ...
# NamedTuple is special-cased in the type checker
class NamedTuple(Tuple[Any, ...]):
_field_types: collections.OrderedDict[str, Type[Any]]
_field_defaults: dict[str, Any] = ...
_field_defaults: dict[str, Any]
_fields: Tuple[str, ...]
_source: str
def __init__(self, typename: str, fields: Iterable[Tuple[str, Any]] = ..., **kwargs: Any) -> None: ...