diff --git a/stdlib/2and3/readline.pyi b/stdlib/2and3/readline.pyi index 7a96c6a16..c2e1e21d8 100644 --- a/stdlib/2and3/readline.pyi +++ b/stdlib/2and3/readline.pyi @@ -25,6 +25,10 @@ def get_history_item(index: int) -> str: ... def remove_history_item(pos: int) -> None: ... def replace_history_item(pos: int, line: str) -> None: ... def add_history(string: str) -> None: ... + +if sys.version_info >= (3, 6): + def set_auto_history(enabled: bool) -> None: ... + def set_startup_hook(function: Optional[Callable[[], None]] = ...) -> None: ... def set_pre_input_hook(function: Optional[Callable[[], None]] = ...) -> None: ... def set_completer(function: _CompleterT = ...) -> None: ...