Add __all__ to modules beginning with 'm' (#7330)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-20 14:08:07 -08:00
1 parent 3e579b8b29
commit 07de01f29e
17 files changed
+193 -33

No files matched your search

+2
View File
@@ -2,6 +2,8 @@ from typing import Mapping, Sequence, Union
_Cap = dict[str, Union[str, int]]
__all__ = ["getcaps", "findmatch"]
def findmatch(
caps: Mapping[str, list[_Cap]], MIMEtype: str, key: str = ..., filename: str = ..., plist: Sequence[str] = ...
) -> tuple[str | None, _Cap | None]: ...