Skip to content

Commit d0003a0

Browse files
Hanaasagijonathanslenders
authored andcommitted
Doc: fix example code
* remove unused import * add missing import
1 parent 2970d29 commit d0003a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/asking_for_input.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ attribute. We can change the key bindings by changing this attribute from
781781
782782
from prompt_toolkit import prompt
783783
from prompt_toolkit.application.current import get_app
784-
from prompt_toolkit.filters import Condition
784+
from prompt_toolkit.enums import EditingMode
785785
from prompt_toolkit.key_binding import KeyBindings
786786
787787
def run():

0 commit comments

Comments
 (0)