Skip to content

Commit 2970d29

Browse files
Mention that WordCompleter was moved in prompt_toolkit 2.0.
1 parent 5d68fb7 commit 2970d29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/pages/upgrading/2.0.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,15 @@ adaptor to make it compatible with the native prompt_toolkit objects.
173173
Multiple styles can be merged together using
174174
:func:`~prompt_toolkit.styles.merge_styles`.
175175

176+
177+
Wordcompleter
178+
^^^^^^^^^^^^^
179+
180+
`WordCompleter` was moved from
181+
:class:`prompt_toolkit.contrib.completers.base.WordCompleter` to
182+
:class:`prompt_toolkit.completion.word_completer.WordCompleter`.
183+
184+
176185
Asynchronous autocompletion
177186
^^^^^^^^^^^^^^^^^^^^^^^^^^^
178187

0 commit comments

Comments
 (0)