Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee authored and Sebastian Rittau committed 2019-04-13 10:40:52 +02:00
1 parent b3c76aab49
commit efb67946f8
458 files changed
+9135 -9135

No files matched your search

+1 -1
View File
@@ -306,7 +306,7 @@ class OrderedDict(Dict[_KT, _VT], Reversible[_KT], Generic[_KT, _VT]):
_DefaultDictT = TypeVar('_DefaultDictT', bound=defaultdict)
class defaultdict(Dict[_KT, _VT], Generic[_KT, _VT]):
default_factory = ... # type: Optional[Callable[[], _VT]]
default_factory: Optional[Callable[[], _VT]]
@overload
def __init__(self, **kwargs: _VT) -> None: ...