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

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-20 15:06:54 -08:00
1 parent 07de01f29e
commit 3ead05f277
9 files changed
+273 -1

No files matched your search

+5
View File
@@ -1,6 +1,11 @@
import sys
from typing import Sequence
if sys.version_info >= (3, 9):
__all__ = ["iskeyword", "issoftkeyword", "kwlist", "softkwlist"]
else:
__all__ = ["iskeyword", "kwlist"]
def iskeyword(s: str) -> bool: ...
kwlist: Sequence[str]