Add a missing docstring argument for action_check_bindings

This commit is contained in:
Dave Pearson
2023-04-24 14:59:12 +01:00
parent 9371b47b9b
commit 7f4699605e

View File

@@ -2411,7 +2411,11 @@ class App(Generic[ReturnType], DOMNode):
self._unregister(root)
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):
await self.check_bindings(key, priority=False)