keyword: update for py39 (#4272)

This commit is contained in:
Shantanu
2020-06-26 11:50:16 -07:00
committed by GitHub
parent afcb46655a
commit 64327e02e9

View File

@@ -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]