Debian Codegraph @

lib_pypy/pyrepl/types.py

raw symbols SCIP
1 from collections.abc import Callable, Iterator
2
3 Callback = Callable[[], object]
4 SimpleContextManager = Iterator[None]
5 KeySpec = str # like r"\C-c"
6 CommandName = str # like "interrupt"
7 EventTuple = tuple[CommandName, str]
8 Completer = Callable[[str, int], str | None]