diff options
author | Jonathan Slenders <jonathan@slenders.be> | 2018-05-20 23:15:18 +0200 |
---|---|---|
committer | Jonathan Slenders <jonathan@slenders.be> | 2018-05-20 23:15:18 +0200 |
commit | 89bb836ab0e48e1a47746d65a9bd0919550ea50e (patch) | |
tree | d9edaebeb6281da25e52cfac33588a94bd85e006 /examples/prompts/auto-completion/autocompletion-like-readline.py | |
parent | afccb572f7cfd0ba300d1a08d95a1e0475dc1baa (diff) |
Fixed WordCompleter imports in examples.
Diffstat (limited to 'examples/prompts/auto-completion/autocompletion-like-readline.py')
-rwxr-xr-x | examples/prompts/auto-completion/autocompletion-like-readline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/prompts/auto-completion/autocompletion-like-readline.py b/examples/prompts/auto-completion/autocompletion-like-readline.py index de10584d..48654445 100755 --- a/examples/prompts/auto-completion/autocompletion-like-readline.py +++ b/examples/prompts/auto-completion/autocompletion-like-readline.py @@ -6,7 +6,7 @@ binding a custom handler to the Tab key. from __future__ import unicode_literals from prompt_toolkit.shortcuts import prompt, CompleteStyle -from prompt_toolkit.contrib.completers import WordCompleter +from prompt_toolkit.completion import WordCompleter animal_completer = WordCompleter([ |