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

@@ -1,6 +1,26 @@
from abc import abstractmethod
from typing import IO, Any, AnyStr, Callable, Iterable, Mapping, Sequence, overload
__all__ = [
"Option",
"make_option",
"SUPPRESS_HELP",
"SUPPRESS_USAGE",
"Values",
"OptionContainer",
"OptionGroup",
"OptionParser",
"HelpFormatter",
"IndentedHelpFormatter",
"TitledHelpFormatter",
"OptParseError",
"OptionError",
"OptionConflictError",
"OptionValueError",
"BadOptionError",
"check_choice",
]
NO_DEFAULT: tuple[str, ...]
SUPPRESS_HELP: str
SUPPRESS_USAGE: str