mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add maxsize attribute to Queue (#1465)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user