diff --git a/stdlib/2/collections.pyi b/stdlib/2/collections.pyi index 1b26c87df..e8a34ea51 100644 --- a/stdlib/2/collections.pyi +++ b/stdlib/2/collections.pyi @@ -57,7 +57,7 @@ class deque(Sized, Iterable[_T], Reversible[_T], Generic[_T]): def popleft(self) -> _T: ... def remove(self, value: _T) -> None: ... def reverse(self) -> None: ... - def rotate(self, n: int) -> None: ... + def rotate(self, n: int = ...) -> None: ... def __len__(self) -> int: ... def __iter__(self) -> Iterator[_T]: ... def __str__(self) -> str: ... diff --git a/stdlib/3/collections/__init__.pyi b/stdlib/3/collections/__init__.pyi index 06b0246b7..dae34a0a5 100644 --- a/stdlib/3/collections/__init__.pyi +++ b/stdlib/3/collections/__init__.pyi @@ -216,7 +216,7 @@ class deque(MutableSequence[_T], Generic[_T]): def popleft(self) -> _T: ... def remove(self, value: _T) -> None: ... def reverse(self) -> None: ... - def rotate(self, n: int) -> None: ... + def rotate(self, n: int = ...) -> None: ... def __len__(self) -> int: ... def __iter__(self) -> Iterator[_T]: ... def __str__(self) -> str: ...