mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-27 13:22:11 +08:00
Add __all__ for most modules beginning with 't' (#7373)
This commit is contained in:
@@ -4,6 +4,28 @@ from types import FrameType, TracebackType
|
||||
from typing import IO, Any, Generator, Iterable, Iterator, Mapping, Optional, overload
|
||||
from typing_extensions import Literal
|
||||
|
||||
__all__ = [
|
||||
"extract_stack",
|
||||
"extract_tb",
|
||||
"format_exception",
|
||||
"format_exception_only",
|
||||
"format_list",
|
||||
"format_stack",
|
||||
"format_tb",
|
||||
"print_exc",
|
||||
"format_exc",
|
||||
"print_exception",
|
||||
"print_last",
|
||||
"print_stack",
|
||||
"print_tb",
|
||||
"clear_frames",
|
||||
"FrameSummary",
|
||||
"StackSummary",
|
||||
"TracebackException",
|
||||
"walk_stack",
|
||||
"walk_tb",
|
||||
]
|
||||
|
||||
_PT = tuple[str, int, str, Optional[str]]
|
||||
|
||||
def print_tb(tb: TracebackType | None, limit: int | None = ..., file: IO[str] | None = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user