Skip to content

Commit d6ac8be

Browse files
JDeethjonathanslenders
authored andcommitted
Remove accidental getpass imports
It looks like `import getpass` got copied a couple of times and included in examples where it isn't needed.
1 parent a123518 commit d6ac8be

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: docs/pages/asking_for_input.rst

-3
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,6 @@ Enabling can be done by passing the ``mouse_support=True`` option.
892892
.. code:: python
893893
894894
from prompt_toolkit import prompt
895-
import getpass
896895
897896
prompt('What is your name: ', mouse_support=True)
898897
@@ -907,7 +906,6 @@ scroll horizontally.
907906
.. code:: python
908907
909908
from prompt_toolkit import prompt
910-
import getpass
911909
912910
prompt('What is your name: ', wrap_lines=False)
913911
@@ -921,7 +919,6 @@ asterisks (``*`` characters).
921919
.. code:: python
922920
923921
from prompt_toolkit import prompt
924-
import getpass
925922
926923
prompt('Enter password: ', is_password=True)
927924

0 commit comments

Comments
 (0)