Move contents of builtins/* to stdlib/*. This simplifies finding stubs.

This commit is contained in:
Guido van Rossum
2016-01-12 12:53:18 -08:00
parent 0938e8f5de
commit 8c2118bace
85 changed files with 0 additions and 0 deletions

108
stdlib/3.4/_operator.pyi Normal file
View File

@@ -0,0 +1,108 @@
"""Stub file for the '_operator' 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, Generic
def _compare_digest(a, b) -> bool:
raise BufferError()
raise TypeError()
def abs(*args, **kwargs) -> Any: ...
def add(*args, **kwargs) -> Any: ...
def and_(*args, **kwargs) -> Any: ...
def concat(*args, **kwargs) -> Any: ...
def contains(*args, **kwargs) -> bool: ...
def countOf(*args, **kwargs) -> int: ...
def delitem(*args, **kwargs) -> None: ...
def eq(*args, **kwargs) -> Any: ...
def floordiv(*args, **kwargs) -> Any: ...
def ge(*args, **kwargs) -> Any: ...
def getitem(*args, **kwargs) -> Any: ...
def gt(*args, **kwargs) -> Any: ...
def iadd(*args, **kwargs) -> Any: ...
def iand(*args, **kwargs) -> Any: ...
def iconcat(*args, **kwargs) -> Any: ...
def ifloordiv(*args, **kwargs) -> Any: ...
def ilshift(*args, **kwargs) -> Any: ...
def imod(*args, **kwargs) -> Any: ...
def imul(*args, **kwargs) -> Any: ...
def index(*args, **kwargs) -> Any: ...
def indexOf(*args, **kwargs) -> int: ...
def inv(*args, **kwargs) -> Any: ...
def invert(*args, **kwargs) -> Any: ...
def ior(*args, **kwargs) -> Any: ...
def ipow(*args, **kwargs) -> Any: ...
def irshift(*args, **kwargs) -> Any: ...
def is_(*args, **kwargs) -> bool: ...
def is_not(*args, **kwargs) -> bool: ...
def isub(*args, **kwargs) -> Any: ...
def itruediv(*args, **kwargs) -> Any: ...
def ixor(*args, **kwargs) -> Any: ...
def le(*args, **kwargs) -> Any: ...
def length_hint(a, *args, **kwargs) -> int: ...
def lshift(*args, **kwargs) -> Any: ...
def lt(*args, **kwargs) -> Any: ...
def mod(*args, **kwargs) -> Any: ...
def mul(*args, **kwargs) -> Any: ...
def ne(*args, **kwargs) -> Any: ...
def neg(*args, **kwargs) -> Any: ...
def not_(*args, **kwargs) -> bool: ...
def or_(*args, **kwargs) -> Any: ...
def pos(*args, **kwargs) -> Any: ...
def pow(*args, **kwargs) -> Any: ...
def rshift(*args, **kwargs) -> Any: ...
def setitem(*args, **kwargs) -> None: ...
def sub(*args, **kwargs) -> Any: ...
def truediv(*args, **kwargs) -> Any: ...
def truth(*args, **kwargs) -> bool: ...
def xor(*args, **kwargs) -> Any: ...

69
stdlib/3.4/_stat.pyi Normal file
View File

@@ -0,0 +1,69 @@
"""Stub file for the '_stat' module."""
SF_APPEND = ... # type: int
SF_ARCHIVED = ... # type: int
SF_IMMUTABLE = ... # type: int
SF_NOUNLINK = ... # type: int
SF_SNAPSHOT = ... # type: int
ST_ATIME = ... # type: int
ST_CTIME = ... # type: int
ST_DEV = ... # type: int
ST_GID = ... # type: int
ST_INO = ... # type: int
ST_MODE = ... # type: int
ST_MTIME = ... # type: int
ST_NLINK = ... # type: int
ST_SIZE = ... # type: int
ST_UID = ... # type: int
S_ENFMT = ... # type: int
S_IEXEC = ... # type: int
S_IFBLK = ... # type: int
S_IFCHR = ... # type: int
S_IFDIR = ... # type: int
S_IFDOOR = ... # type: int
S_IFIFO = ... # type: int
S_IFLNK = ... # type: int
S_IFPORT = ... # type: int
S_IFREG = ... # type: int
S_IFSOCK = ... # type: int
S_IFWHT = ... # type: int
S_IREAD = ... # type: int
S_IRGRP = ... # type: int
S_IROTH = ... # type: int
S_IRUSR = ... # type: int
S_IRWXG = ... # type: int
S_IRWXO = ... # type: int
S_IRWXU = ... # type: int
S_ISGID = ... # type: int
S_ISUID = ... # type: int
S_ISVTX = ... # type: int
S_IWGRP = ... # type: int
S_IWOTH = ... # type: int
S_IWRITE = ... # type: int
S_IWUSR = ... # type: int
S_IXGRP = ... # type: int
S_IXOTH = ... # type: int
S_IXUSR = ... # type: int
UF_APPEND = ... # type: int
UF_COMPRESSED = ... # type: int
UF_HIDDEN = ... # type: int
UF_IMMUTABLE = ... # type: int
UF_NODUMP = ... # type: int
UF_NOUNLINK = ... # type: int
UF_OPAQUE = ... # type: int
def S_IMODE(mode: int) -> int: ...
def S_IFMT(mode: int) -> int: ...
def S_ISBLK(mode: int) -> bool: ...
def S_ISCHR(mode: int) -> bool: ...
def S_ISDIR(mode: int) -> bool: ...
def S_ISDOOR(mode: int) -> bool: ...
def S_ISFIFO(mode: int ) -> bool: ...
def S_ISLNK(mode: int) -> bool: ...
def S_ISPORT(mode: int) -> bool: ...
def S_ISREG(mode: int) -> bool: ...
def S_ISSOCK(mode: int) -> bool: ...
def S_ISWHT(mode: int) -> bool: ...
def filemode(mode: int) -> str: ...

View File

@@ -0,0 +1,26 @@
"""Stub file for the '_tracemalloc' 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, Generic
def _get_object_traceback(*args, **kwargs) -> Any: ...
def _get_traces() -> Any:
raise MemoryError()
def clear_traces() -> None: ...
def get_traceback_limit() -> int: ...
def get_traced_memory() -> tuple: ...
def get_tracemalloc_memory() -> Any: ...
def is_tracing() -> bool: ...
def start(*args, **kwargs) -> None:
raise ValueError()
def stop() -> None: ...