Skip to content

Commit

Permalink
Docstring correction
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Sep 24, 2024
1 parent 2feebaf commit f450e23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4319,7 +4319,7 @@ def get_keymap(self) -> Keymap:
"""Gets the keymap used to override default keyboard shortcuts.
This may be overridden by subclasses to change the keyboard
shortcuts used by the application on startup (e.g. by loading
shortcuts used by the application (e.g. by loading
from a config/keymap file).
Returns:
Expand Down
4 changes: 2 additions & 2 deletions src/textual/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ class Keymap:
in the keymap.
Textual will look for bindings with the same ID as the
the keys in this mapping, and replacing the key strings in the
default binding with the key strings in this mapping.
the keys in this mapping, and replace the key strings in the
default binding with the key strings from this mapping.
The mapping is immutable - it's created once and then should
never be mutated at runtime.
Expand Down

0 comments on commit f450e23

Please sign in to comment.