Skip to content

Commit bca0408

Browse files
delirious-lettucejonathanslenders
authored andcommitted
Fix typo: Conditinal -> Conditional
1 parent 29b7896 commit bca0408

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/pages/advanced_topics/key_bindings.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ filters <filters>`.)
8282
The key binding will be ignored when this condition is not satisfied.
8383

8484

85-
ConditinalKeyBindings: Disabling a set of key bindings
85+
ConditionalKeyBindings: Disabling a set of key bindings
8686
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8787

8888
Sometimes you want to enable or disable a whole set of key bindings according
@@ -91,14 +91,14 @@ to a certain condition. This is possible by wrapping it in a
9191

9292
.. code:: python
9393
94-
from prompt_toolkit.key_binding import ConditinalKeyBindings
94+
from prompt_toolkit.key_binding import ConditionalKeyBindings
9595
9696
@Condition
9797
def is_active():
9898
" Only activate key binding on the second half of each minute. "
9999
return datetime.datetime.now().second > 30
100100
101-
bindings = ConditinalKeyBindings(
101+
bindings = ConditionalKeyBindings(
102102
key_bindings=my_bindings,
103103
filter=is_active)
104104

0 commit comments

Comments
 (0)