Files
typeshed/2.7/cStringIO.pyi
2015-09-15 08:13:31 -07:00

44 lines
1.4 KiB
Python

"""Stub file for the 'cStringIO' module."""
# This is an autogenerated file. It serves as a starting point
# for a more precise manual annotation of this module.
# Feel free to edit the source below, but remove this header when you do.
from typing import Any, List, Tuple, Dict, GenericType
InputType = ... # type: StringI
OutputType = ... # type: StringO
cStringIO_CAPI = ... # type: object
def StringIO(*args, **kwargs) -> Any: ...
class StringI(object):
def close() -> None: ...
def flush() -> None: ...
def getvalue(*args, **kwargs) -> str: ...
def isatty() -> bool: ...
def read(*args, **kwargs) -> str: ...
def readline(*args, **kwargs) -> str: ...
def readlines(*args, **kwargs) -> List[str]: ...
def reset() -> None: ...
def seek(a: int, *args, **kwargs) -> None: ...
def tell() -> int: ...
def truncate(*args, **kwargs) -> None:
raise IOError()
class StringO(object):
def close() -> None: ...
def flush() -> None: ...
def getvalue(*args, **kwargs) -> str: ...
def isatty() -> bool: ...
def read(*args, **kwargs) -> str: ...
def readline(*args, **kwargs) -> str: ...
def readlines(*args, **kwargs) -> List[str]: ...
def reset() -> None: ...
def seek(a: int, *args, **kwargs) -> None: ...
def tell() -> int: ...
def truncate(*args, **kwargs) -> None:
raise IOError()
def write(a) -> None: ...
def writelines(*args, **kwargs) -> None: ...