mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328)
This commit is contained in:
1 parent
07de01f29e
commit
3ead05f277
9 files changed
+273
-1
No files matched your search
@@ -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