Add __all__ to most modules beginning with 'n', 'o' and 'p' (#7345)

This commit is contained in:
Alex Waygood
2022-02-22 01:57:03 +00:00
committed by GitHub
parent 09c945b32b
commit d6ce3abd68
20 changed files with 377 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ from types import CodeType, FrameType, TracebackType
from typing import IO, Any, Callable, ClassVar, Iterable, Mapping, Sequence, TypeVar
from typing_extensions import ParamSpec
__all__ = ["run", "pm", "Pdb", "runeval", "runctx", "runcall", "set_trace", "post_mortem", "help"]
_T = TypeVar("_T")
_P = ParamSpec("_P")