Add __all__ for modules beginning with 'c' and 'd' (#7303)

This commit is contained in:
Alex Waygood
2022-02-20 01:51:27 +00:00
committed by GitHub
parent ebdbd564be
commit e9db3bd50a
8 changed files with 116 additions and 0 deletions

View File

@@ -4,6 +4,21 @@ from typing import Any, AnyStr, Callable, Generic, Iterable, Iterator, NamedTupl
if sys.version_info >= (3, 9):
from types import GenericAlias
__all__ = [
"get_close_matches",
"ndiff",
"restore",
"SequenceMatcher",
"Differ",
"IS_CHARACTER_JUNK",
"IS_LINE_JUNK",
"context_diff",
"unified_diff",
"diff_bytes",
"HtmlDiff",
"Match",
]
_T = TypeVar("_T")
class Match(NamedTuple):