From 125f9b4275da17cf849e42f41ccd89a0ded8cd7d Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 25 Apr 2022 20:17:09 -0700 Subject: [PATCH] sqlite3: Add sequence methods to Blob (#7684) python/cppython#91599 --- stdlib/sqlite3/dbapi2.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/sqlite3/dbapi2.pyi b/stdlib/sqlite3/dbapi2.pyi index 87e843c5f..031a7a98b 100644 --- a/stdlib/sqlite3/dbapi2.pyi +++ b/stdlib/sqlite3/dbapi2.pyi @@ -460,3 +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: ...