Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 collections.abc import Callable, Iterable, Sequence
from collections.abc import Callable, Iterable, Mapping, Sequence
from typing import NamedTuple

from prompt_toolkit.document import Document
Expand Down Expand Up @@ -189,7 +189,7 @@ class FuzzyWordCompleter(Completer):
def __init__(
self,
words: Sequence[str] | Callable[[], Sequence[str]],
meta_dict: dict[str, str] | None = None,
meta_dict: Mapping[str, AnyFormattedText] | None = None,
WORD: bool = False,
) -> None:
self.words = words
Expand Down
2 changes: 1 addition & 1 deletion src/prompt_toolkit/widgets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def __init__(
if input_processors is None:
input_processors = []

# Writeable attributes.
# Writable attributes.
self.completer = completer
self.complete_while_typing = complete_while_typing
self.lexer = lexer
Expand Down
Loading