mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-22 16:10:29 +08:00
[stdlib] Add more default values (#14632)
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ if sys.platform != "win32":
|
||||
@overload
|
||||
def get(self, k: _KeyType, default: _T, /) -> bytes | _T: ...
|
||||
def keys(self) -> list[bytes]: ...
|
||||
def setdefault(self, k: _KeyType, default: _ValueType = ..., /) -> bytes: ...
|
||||
def setdefault(self, k: _KeyType, default: _ValueType = b"", /) -> bytes: ...
|
||||
# This isn't true, but the class can't be instantiated. See #13024
|
||||
__new__: None # type: ignore[assignment]
|
||||
__init__: None # type: ignore[assignment]
|
||||
|
||||
Reference in New Issue
Block a user