Remove explicit tab complete from Python REPL

This is apparently default behavior now.
This commit is contained in:
Trysdyn Black 2023-05-05 16:55:48 -07:00
parent 1654c2ebf6
commit a1a852dee1

View file

@ -3,14 +3,9 @@ try:
except ImportError:
print("Module readline not available.")
else:
# Add tab completion
import rlcompleter
readline.parse_and_bind("tab: complete")
# Don't write history on exit
readline.write_history_file = lambda *args: None
# Try to install rich's prettification stuff
try:
from rich import pretty