• File: types.py
  • Full Path: /var/www/crm_set/yanz/000~ROOT~000/lib/python3.13/_pyrepl/types.py
  • Date Modified: 08/10/2026 12:06 PM
  • File size: 354 bytes
  • MIME-type: text/x-script.python
  • Charset: utf-8
from collections.abc import Callable, Iterator

type Callback = Callable[[], object]
type SimpleContextManager = Iterator[None]
type KeySpec = str  # like r"\C-c"
type CommandName = str  # like "interrupt"
type EventTuple = tuple[CommandName, str]
type Completer = Callable[[str, int], str | None]
type CharBuffer = list[str]
type CharWidths = list[int]