On this page
  1. readline.set_auto_history
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

readline.set_auto_history

Prev: readline.replace_history_item | Up: readline | Next: readline.set_completer
Rel: readline.add_history, readline.clear_history, readline.get_begidx, readline.get_completer
Ref: docs.python.org — readline.set_auto_history
Tags: #public #python3 #stdlib #readline


Import

import readline
from readline import set_auto_history

Signature & Overview

readline.set_auto_history(enabled, /)

Enables or disables automatic history.

Usage

import readline

readline.set_auto_history(True)

Gotchas

REPL Inspect

from readline import set_auto_history
help(set_auto_history)

Linked from

Related notes