mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add a missing docstring argument for action_check_bindings
This commit is contained in:
@@ -2411,7 +2411,11 @@ class App(Generic[ReturnType], DOMNode):
|
|||||||
self._unregister(root)
|
self._unregister(root)
|
||||||
|
|
||||||
async def action_check_bindings(self, key: str) -> None:
|
async def action_check_bindings(self, key: str) -> None:
|
||||||
"""An [action](/guide/actions) to handle a key press using the binding system."""
|
"""An [action](/guide/actions) to handle a key press using the binding system.
|
||||||
|
|
||||||
|
Args:
|
||||||
|
key: The key to process.
|
||||||
|
"""
|
||||||
if not await self.check_bindings(key, priority=True):
|
if not await self.check_bindings(key, priority=True):
|
||||||
await self.check_bindings(key, priority=False)
|
await self.check_bindings(key, priority=False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user