-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expand file tree
/
Copy pathargs.pyi
More file actions
34 lines (26 loc) · 914 Bytes
/
args.pyi
File metadata and controls
34 lines (26 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Builtins stub used to support *args, **kwargs.
from typing import TypeVar, Generic, Iterable, Sequence, Tuple, Dict, Any, overload, Mapping
Tco = TypeVar('Tco', covariant=True)
T = TypeVar('T')
S = TypeVar('S')
class object:
def __init__(self) -> None: pass
def __eq__(self, o: object) -> bool: pass
def __ne__(self, o: object) -> bool: pass
class type:
@overload
def __init__(self, o: object) -> None: pass
@overload
def __init__(self, name: str, bases: Tuple[type, ...], dict: Dict[str, Any]) -> None: pass
def __call__(self, *args: Any, **kwargs: Any) -> Any: pass
class tuple(Iterable[Tco], Generic[Tco]): pass
class dict(Mapping[T, S], Generic[T, S]): pass
class list(Sequence[T], Generic[T]): pass
class int:
def __eq__(self, o: object) -> bool: pass
class float: pass
class str: pass
class bytes: pass
class bool: pass
class function: pass
class ellipsis: pass