diff options
Diffstat (limited to 'examples/prompts/regular-language.py')
-rwxr-xr-x | examples/prompts/regular-language.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/prompts/regular-language.py b/examples/prompts/regular-language.py index a10d52f7..2ef731d2 100755 --- a/examples/prompts/regular-language.py +++ b/examples/prompts/regular-language.py @@ -13,7 +13,7 @@ This example shows how you can define the grammar of a regular language and how to use variables in this grammar with completers and tokens attached. """ from __future__ import unicode_literals -from prompt_toolkit.contrib.completers import WordCompleter +from prompt_toolkit.completion import WordCompleter from prompt_toolkit import prompt from prompt_toolkit.contrib.regular_languages.compiler import compile |