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:
Jelle Zijlstra
2022-04-30 09:15:03 -06:00
committed by GitHub
parent 7d046654f1
commit e6623754e9

View File

@@ -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: ...