Add compileall.__all__ (#7298)

All the alls of the alls
This commit is contained in:
Alex Waygood
2022-02-19 20:27:07 +00:00
committed by GitHub
parent 7ffeb66a13
commit 2aa7d2dd7b

View File

@@ -5,6 +5,8 @@ from typing import Any, Protocol
if sys.version_info >= (3, 7):
from py_compile import PycInvalidationMode
__all__ = ["compile_dir", "compile_file", "compile_path"]
class _SupportsSearch(Protocol):
def search(self, string: str) -> Any: ...