sqlite3: Blob.write accepts buffer (#9097)

This commit is contained in:
Jelle Zijlstra
2022-11-06 21:06:55 -08:00
committed by GitHub
parent 157d818106
commit 6639e2e14c

View File

@@ -447,7 +447,7 @@ if sys.version_info >= (3, 11):
class Blob:
def close(self) -> None: ...
def read(self, __length: int = ...) -> bytes: ...
def write(self, __data: bytes) -> None: ...
def write(self, __data: ReadableBuffer) -> None: ...
def tell(self) -> int: ...
# whence must be one of os.SEEK_SET, os.SEEK_CUR, os.SEEK_END
def seek(self, __offset: int, __origin: int = ...) -> None: ...