Skip to content

Commit

Permalink
Update fuzzy_completer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr authored Jun 16, 2024
1 parent 6695411 commit e81d17e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prompt_toolkit/completion/fuzzy_completer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import re
from typing import Callable, Iterable, NamedTuple
from typing import Callable, Iterable, NamedTuple, Sequence

from prompt_toolkit.document import Document
from prompt_toolkit.filters import FilterOrBool, to_filter
Expand Down Expand Up @@ -187,7 +187,7 @@ class FuzzyWordCompleter(Completer):

def __init__(
self,
words: list[str] | Callable[[], list[str]],
words: Sequence[str] | Callable[[], Sequence[str]],
meta_dict: dict[str, str] | None = None,
WORD: bool = False,
) -> None:
Expand Down

0 comments on commit e81d17e

Please sign in to comment.