From 744f572c689707f6a88c1772ce243681513b2102 Mon Sep 17 00:00:00 2001 From: MatthewPScott81 <44710931+MatthewPScott81@users.noreply.github.com> Date: Sun, 4 Nov 2018 17:06:47 -0500 Subject: [PATCH] deque init() optional maxlen (#2585) Closes #2581 --- stdlib/3/collections/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/collections/__init__.pyi b/stdlib/3/collections/__init__.pyi index 003fcf7c4..e1b67e907 100644 --- a/stdlib/3/collections/__init__.pyi +++ b/stdlib/3/collections/__init__.pyi @@ -192,7 +192,7 @@ class deque(MutableSequence[_T], Generic[_T]): @property def maxlen(self) -> Optional[int]: ... def __init__(self, iterable: Iterable[_T] = ..., - maxlen: int = ...) -> None: ... + maxlen: Optional[int] = ...) -> None: ... def append(self, x: _T) -> None: ... def appendleft(self, x: _T) -> None: ... def clear(self) -> None: ...