|
1 |
| -from typing import Any, Tuple, Optional |
| 1 | +from __builtin__ import ArithmeticError |
| 2 | +from __builtin__ import AssertionError |
| 3 | +from __builtin__ import AttributeError |
| 4 | +from __builtin__ import BaseException |
| 5 | +from __builtin__ import BufferError |
| 6 | +from __builtin__ import BytesWarning |
| 7 | +from __builtin__ import DeprecationWarning |
| 8 | +from __builtin__ import EOFError |
| 9 | +from __builtin__ import EnvironmentError |
| 10 | +from __builtin__ import Exception |
| 11 | +from __builtin__ import FloatingPointError |
| 12 | +from __builtin__ import FutureWarning |
| 13 | +from __builtin__ import GeneratorExit |
| 14 | +from __builtin__ import IOError |
| 15 | +from __builtin__ import ImportError |
| 16 | +from __builtin__ import ImportWarning |
| 17 | +from __builtin__ import IndentationError |
| 18 | +from __builtin__ import IndexError |
| 19 | +from __builtin__ import KeyError |
| 20 | +from __builtin__ import KeyboardInterrupt |
| 21 | +from __builtin__ import LookupError |
| 22 | +from __builtin__ import MemoryError |
| 23 | +from __builtin__ import NameError |
| 24 | +from __builtin__ import NotImplementedError |
| 25 | +from __builtin__ import OSError |
| 26 | +from __builtin__ import OverflowError |
| 27 | +from __builtin__ import PendingDeprecationWarning |
| 28 | +from __builtin__ import RuntimeError |
| 29 | +from __builtin__ import RuntimeWarning |
| 30 | +from __builtin__ import StandardError |
| 31 | +from __builtin__ import StopIteration |
| 32 | +from __builtin__ import SyntaxError |
| 33 | +from __builtin__ import SyntaxWarning |
| 34 | +from __builtin__ import SystemError |
| 35 | +from __builtin__ import SystemExit |
| 36 | +from __builtin__ import TabError |
| 37 | +from __builtin__ import TypeError |
| 38 | +from __builtin__ import UnboundLocalError |
| 39 | +from __builtin__ import UnicodeError |
| 40 | +from __builtin__ import UnicodeDecodeError |
| 41 | +from __builtin__ import UnicodeEncodeError |
| 42 | +from __builtin__ import UnicodeTranslateError |
| 43 | +from __builtin__ import UnicodeWarning |
| 44 | +from __builtin__ import UserWarning |
| 45 | +from __builtin__ import ValueError |
| 46 | +from __builtin__ import Warning |
| 47 | +from __builtin__ import ZeroDivisionError |
2 | 48 |
|
3 |
| -class StandardError(Exception): ... |
4 |
| -class ArithmeticError(StandardError): ... |
5 |
| -class AssertionError(StandardError): ... |
6 |
| -class AttributeError(StandardError): ... |
7 |
| -class BaseException(object): |
8 |
| - args = ... # type: Tuple[Any, ...] |
9 |
| - message = ... # type: str |
10 |
| - def __getslice__(self, start, end) -> Any: ... |
11 |
| - def __getitem__(self, start, end) -> Any: ... |
12 |
| - def __unicode__(self) -> unicode: ... |
13 |
| -class BufferError(StandardError): ... |
14 |
| -class BytesWarning(Warning): ... |
15 |
| -class DeprecationWarning(Warning): ... |
16 |
| -class EOFError(StandardError): ... |
17 |
| -class EnvironmentError(StandardError): |
18 |
| - errno = ... # type: int |
19 |
| - strerror = ... # type: str |
20 |
| - filename = ... # type: str |
21 |
| -class Exception(BaseException): ... |
22 |
| -class FloatingPointError(ArithmeticError): ... |
23 |
| -class FutureWarning(Warning): ... |
24 |
| -class GeneratorExit(BaseException): ... |
25 |
| -class IOError(EnvironmentError): ... |
26 |
| -class ImportError(StandardError): ... |
27 |
| -class ImportWarning(Warning): ... |
28 |
| -class IndentationError(SyntaxError): ... |
29 |
| -class IndexError(LookupError): ... |
30 |
| -class KeyError(LookupError): ... |
31 |
| -class KeyboardInterrupt(BaseException): ... |
32 |
| -class LookupError(StandardError): ... |
33 |
| -class MemoryError(StandardError): ... |
34 |
| -class NameError(StandardError): ... |
35 |
| -class NotImplementedError(RuntimeError): ... |
36 |
| -class OSError(EnvironmentError): ... |
37 |
| -class OverflowError(ArithmeticError): ... |
38 |
| -class PendingDeprecationWarning(Warning): ... |
39 | 49 | class ReferenceError(StandardError): ...
|
40 |
| -class RuntimeError(StandardError): ... |
41 |
| -class RuntimeWarning(Warning): ... |
42 |
| -class StopIteration(Exception): ... |
43 |
| -class SyntaxError(StandardError): |
44 |
| - text = ... # type: str |
45 |
| - print_file_and_line = ... # type: Optional[str] |
46 |
| - filename = ... # type: str |
47 |
| - lineno = ... # type: int |
48 |
| - offset = ... # type: int |
49 |
| - msg = ... # type: str |
50 |
| -class SyntaxWarning(Warning): ... |
51 |
| -class SystemError(StandardError): ... |
52 |
| -class SystemExit(BaseException): |
53 |
| - code = ... # type: int |
54 |
| -class TabError(IndentationError): ... |
55 |
| -class TypeError(StandardError): ... |
56 |
| -class UnboundLocalError(NameError): ... |
57 |
| -class UnicodeError(ValueError): ... |
58 |
| -class UnicodeDecodeError(UnicodeError): |
59 |
| - start = ... # type: int |
60 |
| - reason = ... # type: str |
61 |
| - object = ... # type: str |
62 |
| - end = ... # type: int |
63 |
| - encoding = ... # type: str |
64 |
| -class UnicodeEncodeError(UnicodeError): |
65 |
| - start = ... # type: int |
66 |
| - reason = ... # type: str |
67 |
| - object = ... # type: unicode |
68 |
| - end = ... # type: int |
69 |
| - encoding = ... # type: str |
70 |
| -class UnicodeTranslateError(UnicodeError): |
71 |
| - start = ... # type: int |
72 |
| - reason = ... # type: str |
73 |
| - object = ... # type: Any |
74 |
| - end = ... # type: int |
75 |
| - encoding = ... # type: str |
76 |
| -class UnicodeWarning(Warning): ... |
77 |
| -class UserWarning(Warning): ... |
78 |
| -class ValueError(StandardError): ... |
79 |
| -class Warning(Exception): ... |
80 |
| -class ZeroDivisionError(ArithmeticError): ... |
0 commit comments