Fix signature for slite3.fetchmany (#1444)

Also made pymssql.fetchmany simpler.
This commit is contained in:
Peter Vilim
2017-06-29 15:05:47 -07:00
committed by Guido van Rossum
parent ac87de50dd
commit bc9b2f0d4d
3 changed files with 4 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class Cursor(object):
def executemany(self, stmt: str,
params: Optional[Sequence[Tuple[Scalar, ...]]]) -> None: ...
def fetchall(self) -> List[Result]: ...
def fetchmany(self, size: Optional[Union[int, None]]) -> List[Result]: ...
def fetchmany(self, size: Optional[int]) -> List[Result]: ...
def fetchone(self) -> Result: ...
def connect(server: Optional[str],