mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
add keyword module (#446)
This commit is contained in:
committed by
Guido van Rossum
parent
cc8799ee36
commit
4fa352e6fa
6
stdlib/2and3/keyword.pyi
Normal file
6
stdlib/2and3/keyword.pyi
Normal file
@@ -0,0 +1,6 @@
|
||||
# Stubs for keyword
|
||||
|
||||
from typing import Sequence, Text, Union
|
||||
|
||||
def iskeyword(s: Union[Text, bytes]) -> bool: ...
|
||||
kwlist = ... # type: Sequence[str]
|
||||
Reference in New Issue
Block a user