diff --git a/stdlib/2/collections.pyi b/stdlib/2/collections.pyi index e0d983ea6..bd7420537 100644 --- a/stdlib/2/collections.pyi +++ b/stdlib/2/collections.pyi @@ -96,6 +96,7 @@ class Counter(Dict[_T, int], Generic[_T]): class OrderedDict(Dict[_KT, _VT], Reversible[_KT], Generic[_KT, _VT]): def popitem(self, last: bool = ...) -> Tuple[_KT, _VT]: ... def __reversed__(self) -> Iterator[_KT]: ... + def __copy__(self) -> OrderedDict[_KT, _VT]: ... class defaultdict(Dict[_KT, _VT], Generic[_KT, _VT]): default_factory = ... # type: Callable[[], _VT] diff --git a/stdlib/3/collections/__init__.pyi b/stdlib/3/collections/__init__.pyi index 5da5c47d8..d80cb2f81 100644 --- a/stdlib/3/collections/__init__.pyi +++ b/stdlib/3/collections/__init__.pyi @@ -278,6 +278,7 @@ class OrderedDict(Dict[_KT, _VT], Reversible[_KT], Generic[_KT, _VT]): def popitem(self, last: bool = ...) -> Tuple[_KT, _VT]: ... def move_to_end(self, key: _KT, last: bool = ...) -> None: ... def __reversed__(self) -> Iterator[_KT]: ... + def __copy__(self) -> OrderedDict[_KT, _VT]: ... class defaultdict(Dict[_KT, _VT], Generic[_KT, _VT]): default_factory = ... # type: Callable[[], _VT]