From a8e30fe7bc403f43c87ff79719f5b888a110a3ed Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Wed, 21 Dec 2022 14:59:24 +0000 Subject: [PATCH] update docstring --- src/textual/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/textual/events.py b/src/textual/events.py index 4a3e880a1..b723c1948 100644 --- a/src/textual/events.py +++ b/src/textual/events.py @@ -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"]