Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328)

This commit is contained in:
Alex Waygood
2022-02-20 23:06:54 +00:00
committed by GitHub
parent 07de01f29e
commit 3ead05f277
9 changed files with 273 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
import sys
from typing import Any, Protocol
if sys.version_info >= (3, 9):
__all__ = ["getline", "clearcache", "checkcache", "lazycache"]
else:
__all__ = ["getline", "clearcache", "checkcache"]
_ModuleGlobals = dict[str, Any]
_ModuleMetadata = tuple[int, float, list[str], str]