mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user