mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 00:20:10 +08:00
[pynput] Fix annotations of Controller.Key(Code) (#8722)
Document stubtest entries
This commit is contained in:
1 parent
266aa3b6ca
commit
34383fcab5
2 files changed
+7
-9
No files matched your search
@@ -86,8 +86,8 @@ class Key(enum.Enum):
|
||||
scroll_lock: int
|
||||
|
||||
class Controller:
|
||||
_KeyCode: ClassVar[KeyCode] # undocumented
|
||||
_Key: ClassVar[Key] # undocumented
|
||||
_KeyCode: ClassVar[type[KeyCode]] # undocumented
|
||||
_Key: ClassVar[type[Key]] # undocumented
|
||||
|
||||
class InvalidKeyException(Exception): ...
|
||||
class InvalidCharacterException(Exception): ...
|
||||
|
||||
Reference in new issue
Block a user