Add __all__ for modules beginning with 'e', 'f' and 'g' (#7325)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-20 15:08:14 -08:00
1 parent 3ead05f277
commit 2fe519c3a7
13 files changed
+192 -1

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
from typing import AnyStr, Iterable
__all__ = ["filter", "fnmatch", "fnmatchcase", "translate"]
def fnmatch(name: AnyStr, pat: AnyStr) -> bool: ...
def fnmatchcase(name: AnyStr, pat: AnyStr) -> bool: ...
def filter(names: Iterable[AnyStr], pat: AnyStr) -> list[AnyStr]: ...