Skip to content

Commit 125f9b4

Browse files
sqlite3: Add sequence methods to Blob (#7684)
python/cppython#91599
1 parent 08ae9f3 commit 125f9b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/sqlite3/dbapi2.pyi

+2
Original file line numberDiff line numberDiff line change
@@ -460,3 +460,5 @@ if sys.version_info >= (3, 11):
460460
def __len__(self) -> int: ...
461461
def __enter__(self: Self) -> Self: ...
462462
def __exit__(self, __typ: object, __val: object, __tb: object) -> Literal[False]: ...
463+
def __getitem__(self, __item: SupportsIndex | slice) -> bytes: ...
464+
def __setitem__(self, __item: SupportsIndex | slice, __value: ReadableBuffer) -> None: ...

0 commit comments

Comments
 (0)