• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1from collections.abc import Callable, Iterator
2
3Callback = Callable[[], object]
4SimpleContextManager = Iterator[None]
5KeySpec = str  # like r"\C-c"
6CommandName = str  # like "interrupt"
7EventTuple = tuple[CommandName, str]
8Completer = Callable[[str, int], str | None]
9