fix type annotations and default argument
This commit is contained in:
parent
72bfd39a17
commit
91223c8d97
|
@ -33,7 +33,7 @@
|
|||
|
||||
//| class Event:
|
||||
//| """A key transition event."""
|
||||
//| def __init__(self, key_number: int=0, pressed: bool=True, timestamp:int=-1) -> None:
|
||||
//| def __init__(self, key_number: int=0, pressed: bool=True, timestamp:Optional[int]=None) -> None:
|
||||
//| """Create a key transition event, which reports a key-pressed or key-released transition.
|
||||
//|
|
||||
//| :param int key_number: the key number
|
||||
|
|
Loading…
Reference in New Issue