diff --git a/stdlib/2and3/keyword.pyi b/stdlib/2and3/keyword.pyi new file mode 100644 index 000000000000..6e0fb5f1450c --- /dev/null +++ b/stdlib/2and3/keyword.pyi @@ -0,0 +1,6 @@ +# Stubs for keyword + +from typing import Sequence, Text, Union + +def iskeyword(s: Union[Text, bytes]) -> bool: ... +kwlist = ... # type: Sequence[str]