mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Mark pos-only __class_getitem__ args (#11970)
This commit is contained in:
@@ -45,7 +45,7 @@ class Morsel(dict[str, Any], Generic[_T]):
|
||||
def __eq__(self, morsel: object) -> bool: ...
|
||||
def __setitem__(self, K: str, V: Any) -> None: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
|
||||
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
||||
|
||||
class BaseCookie(dict[str, Morsel[_T]], Generic[_T]):
|
||||
def __init__(self, input: _DataType | None = None) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user