Update a bunch of stubs

This commit is contained in:
Ben Longbons
2015-10-16 13:11:27 -07:00
parent e4a7edb949
commit 56fe787c74
34 changed files with 483 additions and 277 deletions

View File

@@ -1,11 +1,11 @@
# Stubs for types
from typing import Any
from typing import Any, Tuple, Optional
class ModuleType:
__name__ = ... # type: str
__file__ = ... # type: str
def __init__(self, name: str, doc: Any) -> None: ...
def __init__(self, name: str, doc: str) -> None: ...
class TracebackType:
...
@@ -21,16 +21,16 @@ class ListType:
class CodeType:
co_argcount = ... # type: int
co_cellvars = ... # type: Tuple[str]
co_cellvars = ... # type: Tuple[str, ...]
co_code = ... # type: str
co_consts = ... # type: Tuple[Any]
co_consts = ... # type: Tuple[Any, ...]
co_filename = ... # type: Optional[str]
co_firstlineno = ... # type: int
co_flags = ... # type: int
co_freevars = ... # type: Tuple[str]
co_freevars = ... # type: Tuple[str, ...]
co_lnotab = ... # type: str
co_name = ... # type: str
co_names = ... # type: Tuple[str]
co_names = ... # type: Tuple[str, ...]
co_nlocals= ... # type: int
co_stacksize= ... # type: int
co_varnames = ... # type: Tuple[str]
co_varnames = ... # type: Tuple[str, ...]