mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -14,7 +14,7 @@ _T = TypeVar("_T")
|
||||
|
||||
class Queue(Generic[_T]):
|
||||
if sys.version_info >= (3, 11):
|
||||
def __init__(self, maxsize: int = ...) -> None: ...
|
||||
def __init__(self, maxsize: int = 0) -> None: ...
|
||||
else:
|
||||
def __init__(self, maxsize: int = ..., *, loop: AbstractEventLoop | None = ...) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user