mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
keyword: update for py39 (#4272)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# Stubs for keyword
|
||||
|
||||
import sys
|
||||
from typing import Sequence, Text, Union
|
||||
|
||||
def iskeyword(s: Union[Text, bytes]) -> bool: ...
|
||||
def iskeyword(s: Text) -> bool: ...
|
||||
kwlist: Sequence[str]
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
def issoftkeyword(s: str) -> bool: ...
|
||||
softkwlist: Sequence[str]
|
||||
|
||||
Reference in New Issue
Block a user