Make sure that the context manager for sqlite3.Connection works (#3542)

This commit is contained in:
Dave Halter
2019-12-14 10:08:38 +01:00
committed by Sebastian Rittau
parent 3e638aa3c3
commit 772f7a48e6

View File

@@ -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]):