HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/certbot/current/lib/python3.12/site-packages/certbot/_internal/display/dummy_readline.py
"""A dummy module with no effect for use on systems without readline."""
from typing import Callable
from typing import Iterable
from typing import Optional


def get_completer() -> Optional[Callable[[], str]]:
    """An empty implementation of readline.get_completer."""


def get_completer_delims() -> list[str]:
    """An empty implementation of readline.get_completer_delims."""
    return []


def parse_and_bind(unused_command: str) -> None:
    """An empty implementation of readline.parse_and_bind."""


def set_completer(unused_function: Optional[Callable[[], str]] = None) -> None:
    """An empty implementation of readline.set_completer."""


def set_completer_delims(unused_delims: Iterable[str]) -> None:
    """An empty implementation of readline.set_completer_delims."""