mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
16 lines
348 B
Python
16 lines
348 B
Python
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]
|
|
|
|
if sys.version_info >= (3, 9):
|
|
def issoftkeyword(s: str) -> bool: ...
|
|
softkwlist: Sequence[str]
|