update docstring

This commit is contained in:
Will McGugan
2022-12-21 14:59:24 +00:00
parent 46cfbddad2
commit a8e30fe7bc

View File

@@ -192,10 +192,10 @@ class Key(InputEvent):
Args:
sender (MessageTarget): The sender of the event (always the App).
key (str): The key that was pressed.
char (str | None, optional): A printable character or ``None`` if it is not printable.
character (str | None, optional): A printable character or ``None`` if it is not printable.
Attributes:
key_aliases (list[str]): The aliases for the key, including the key itself
aliases (list[str]): The aliases for the key, including the key itself.
"""
__slots__ = ["key", "character", "aliases"]