Add maxsize attribute to Queue (#1465)

This commit is contained in:
macheins
2017-07-04 17:40:17 +02:00
committed by Jelle Zijlstra
parent 7720a90bde
commit ab5f196fca

View File

@@ -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: ...