From 55fb8aa1be253894b06f451837e28cb55f485d75 Mon Sep 17 00:00:00 2001 From: DoomGuy <307901355+abhhjhh28-svg@users.noreply.github.com> Date: Fri, 6 Nov 2026 08:31:20 +0300 Subject: [PATCH] Fix indentation in ConditionalKeyBindings documentation example --- docs/pages/advanced_topics/key_bindings.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/advanced_topics/key_bindings.rst b/docs/pages/advanced_topics/key_bindings.rst index 8b334fc2d..36c3797f1 100644 --- a/docs/pages/advanced_topics/key_bindings.rst +++ b/docs/pages/advanced_topics/key_bindings.rst @@ -227,9 +227,9 @@ to a certain condition. This is possible by wrapping it in a " Only activate key binding on the second half of each minute. " return datetime.datetime.now().second > 30 - bindings = ConditionalKeyBindings( - key_bindings=my_bindings, - filter=is_active) + bindings = ConditionalKeyBindings( + key_bindings=my_bindings, + filter=is_active) If the condition is not satisfied, all the key bindings in `my_bindings` above will be ignored.