Skip to content
Prev Previous commit
Next Next commit
dataclass.pyi typos: missing List; additional brackets around callable.
  • Loading branch information
gwk committed May 29, 2018
commit 4b4362e29ad99a04c1dbcfb426ac2503b08dab6f
6 changes: 3 additions & 3 deletions stdlib/3.7/dataclasses.pyi
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from typing import overload, Any, Callable, Dict, Generic, Iterable, Mapping, Optional, Tuple, Type, TypeVar, Union
from typing import overload, Any, Callable, Dict, Generic, Iterable, List, Mapping, Optional, Tuple, Type, TypeVar, Union


_T = TypeVar('_T')

_DictFactory = Callable[List[Tuple[str, Any]], _T]
_TupleFactory = Callable[List[Any], _T]
_DictFactory = Callable[[List[Tuple[str, Any]]], _T]
_TupleFactory = Callable[[List[Any]], _T]

class _MISSING_TYPE: ...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing MISSING.

MISSING: _MISSING_TYPE
Expand Down