Rename .py to .pyi.

This commit is contained in:
Matthias Kramm
2015-09-15 07:58:47 -07:00
parent 29699f3a60
commit 7feb677d6b
38 changed files with 0 additions and 0 deletions

43
2.7/cStringIO.pyi Normal file
View File

@@ -0,0 +1,43 @@
"""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 List, Tuple, Dict, Undefined, GenericType
InputType = Undefined(StringI)
OutputType = Undefined(StringO)
cStringIO_CAPI = Undefined(object)
def StringIO(*args, **kwargs) -> object: ...
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: ...