From 6b82088e20aaf398f35b3867f7e6abc3182dcc82 Mon Sep 17 00:00:00 2001 From: Rhys Parry Date: Fri, 9 Feb 2018 07:55:58 -0800 Subject: [PATCH] Add UserDict attribute data for Python 3 (#1863) --- stdlib/3/collections/__init__.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3/collections/__init__.pyi b/stdlib/3/collections/__init__.pyi index 88c2c95aa..1cde078da 100644 --- a/stdlib/3/collections/__init__.pyi +++ b/stdlib/3/collections/__init__.pyi @@ -62,6 +62,7 @@ else: _UserDictT = TypeVar('_UserDictT', bound=UserDict) class UserDict(MutableMapping[_KT, _VT]): + data = ... # type: Mapping[_KT, _VT] def __len__(self) -> int: ... def __getitem__(self, key: _KT) -> _VT: ... def __setitem__(self, key: _KT, item: _VT) -> None: ...