mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +08:00
committed by
Ivan Levkivskyi
parent
6b36b1befe
commit
8084dc1c1f
@@ -23,7 +23,10 @@ class Dialect:
|
||||
class _reader(Iterator[List[str]]):
|
||||
dialect = ... # type: Dialect
|
||||
line_num = ... # type: int
|
||||
def __next__(self) -> List[str]: ...
|
||||
if sys.version_info >= (3, 0):
|
||||
def __next__(self) -> List[str]: ...
|
||||
else:
|
||||
def next(self) -> List[str]: ...
|
||||
|
||||
class _writer:
|
||||
dialect = ... # type: Dialect
|
||||
|
||||
@@ -163,7 +163,10 @@ class Cursor(Iterator[Any]):
|
||||
def setinputsizes(self, *args, **kwargs): ...
|
||||
def setoutputsize(self, *args, **kwargs): ...
|
||||
def __iter__(self) -> Cursor: ...
|
||||
def __next__(self) -> Any: ...
|
||||
if sys.version_info >= (3, 0):
|
||||
def __next__(self) -> Any: ...
|
||||
else:
|
||||
def next(self) -> Any: ...
|
||||
|
||||
|
||||
class DataError(DatabaseError): ...
|
||||
|
||||
Reference in New Issue
Block a user