mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
sqlite3: Blob.write accepts buffer (#9097)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user