From ab5f196fca7a56b5cbdd03a98f7cd339561cd4ae Mon Sep 17 00:00:00 2001 From: macheins Date: Tue, 4 Jul 2017 17:40:17 +0200 Subject: [PATCH] Add maxsize attribute to Queue (#1465) --- stdlib/3/queue.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3/queue.pyi b/stdlib/3/queue.pyi index 4f78821a1..1d218c7fc 100644 --- a/stdlib/3/queue.pyi +++ b/stdlib/3/queue.pyi @@ -10,6 +10,7 @@ class Empty(Exception): ... class Full(Exception): ... class Queue(Generic[_T]): + maxsize = ... # type: int def __init__(self, maxsize: int = ...) -> None: ... def empty(self) -> bool: ... def full(self) -> bool: ...