mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Make sure that the context manager for sqlite3.Connection works (#3542)
This commit is contained in:
committed by
Sebastian Rittau
parent
3e638aa3c3
commit
772f7a48e6
@@ -154,7 +154,7 @@ class Connection(object):
|
||||
progress: Optional[Callable[[int, int, int], object]] = ..., name: str = ...,
|
||||
sleep: float = ...) -> None: ...
|
||||
def __call__(self, *args, **kwargs): ...
|
||||
def __enter__(self, *args, **kwargs): ...
|
||||
def __enter__(self, *args, **kwargs) -> Connection: ...
|
||||
def __exit__(self, *args, **kwargs): ...
|
||||
|
||||
class Cursor(Iterator[Any]):
|
||||
|
||||
Reference in New Issue
Block a user