Skip to content

Commit 08cb22f

Browse files
N.J. Thomasjonathanslenders
N.J. Thomas
authored andcommitted
fix doc example error (missing import)
1 parent 1961354 commit 08cb22f

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
@@ -165,7 +165,7 @@ Creating a custom style could be done like this:
165165
.. code:: python
166166
167167
from prompt_toolkit.shortcuts import prompt
168-
from prompt_toolkit.styles import style_from_pygments_cls, merge_styles
168+
from prompt_toolkit.styles import Style, style_from_pygments_cls, merge_styles
169169
from prompt_toolkit.lexers import PygmentsLexer
170170
171171
from pygments.styles.tango import TangoStyle

0 commit comments

Comments
 (0)