Fix signature of Connection.iterdump() (#3843)

This commit is contained in:
Mickaël Schoentgen authored and GitHub committed 2020-03-12 13:48:20 +01:00
1 parent 508fd84499
commit 62f1aa5385
1 file changed
+2 -2
+2 -2
View File
@@ -3,7 +3,7 @@
import os
import sys
from typing import Any, Callable, Iterable, Iterator, List, Optional, Text, Tuple, Type, TypeVar, Union
from typing import Any, Callable, Generator, Iterable, Iterator, List, Optional, Text, Tuple, Type, TypeVar, Union
from datetime import date, time, datetime
_T = TypeVar('_T')
@@ -139,7 +139,7 @@ class Connection(object):
def executemany(self, sql: str, seq_of_parameters: Iterable[Iterable[Any]]) -> Cursor: ...
def executescript(self, sql_script: Union[bytes, Text]) -> Cursor: ...
def interrupt(self, *args, **kwargs) -> None: ...
def iterdump(self, *args, **kwargs) -> None: ...
def iterdump(self, *args, **kwargs) -> Generator[str, None, None]: ...
def rollback(self, *args, **kwargs) -> None: ...
# TODO: set_authorizer(authorzer_callback)
# see https://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.set_authorizer