From 753e6452db4cf95cc4f5a5e65b6366489243c03d Mon Sep 17 00:00:00 2001 From: Filip Hron Date: Mon, 7 Mar 2016 15:25:01 +0100 Subject: [PATCH] little edit --- stdlib/2.7/sqlite3/dbapi2.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2.7/sqlite3/dbapi2.pyi b/stdlib/2.7/sqlite3/dbapi2.pyi index 900a39c45..593838049 100644 --- a/stdlib/2.7/sqlite3/dbapi2.pyi +++ b/stdlib/2.7/sqlite3/dbapi2.pyi @@ -2,7 +2,7 @@ # based heavily on Andrey Vlasovskikh's python-skeletons https://github.com/JetBrains/python-skeletons/blob/master/sqlite3.py from typing import Any, Union, List -from numbers import Integral as _Integral +from numbers import Integral from datetime import time, datetime from collections import Iterable @@ -141,7 +141,7 @@ class Cursor: def executemany(self, sql: str, seq_of_parameters: Iterable[Iterable]): ... def executescript(self, sql_script: Union[bytes, unicode]) -> Cursor: ... def fetchall(self) -> List[tuple]: ... - def fetchmany(self, size: _Integral = ...) -> List[tuple]: ... + def fetchmany(self, size: Integral = ...) -> List[tuple]: ... def fetchone(self) -> Union[tuple, None]: ... def setinputsizes(self, *args, **kwargs): ... def setoutputsize(self, *args, **kwargs): ...