mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
sqlite: Blob now uses ints in getitem/setitem (#7754)
I just merged python/cpython#92020 which implemented this change (thanks @erlend-aasland!).
This commit is contained in:
@@ -460,5 +460,5 @@ if sys.version_info >= (3, 11):
|
||||
def __len__(self) -> int: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(self, __typ: object, __val: object, __tb: object) -> Literal[False]: ...
|
||||
def __getitem__(self, __item: SupportsIndex | slice) -> bytes: ...
|
||||
def __setitem__(self, __item: SupportsIndex | slice, __value: ReadableBuffer) -> None: ...
|
||||
def __getitem__(self, __item: SupportsIndex | slice) -> int: ...
|
||||
def __setitem__(self, __item: SupportsIndex | slice, __value: int) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user