mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Add maxsize attribute to Queue (#1465)
This commit is contained in:
1 parent
7720a90bde
commit
ab5f196fca
1 file changed
+1
@@ -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