Remove explicit tab complete from Python REPL
This is apparently default behavior now.
This commit is contained in:
parent
1654c2ebf6
commit
a1a852dee1
1 changed files with 0 additions and 5 deletions
|
@ -3,14 +3,9 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("Module readline not available.")
|
print("Module readline not available.")
|
||||||
else:
|
else:
|
||||||
# Add tab completion
|
|
||||||
import rlcompleter
|
|
||||||
readline.parse_and_bind("tab: complete")
|
|
||||||
|
|
||||||
# Don't write history on exit
|
# Don't write history on exit
|
||||||
readline.write_history_file = lambda *args: None
|
readline.write_history_file = lambda *args: None
|
||||||
|
|
||||||
|
|
||||||
# Try to install rich's prettification stuff
|
# Try to install rich's prettification stuff
|
||||||
try:
|
try:
|
||||||
from rich import pretty
|
from rich import pretty
|
||||||
|
|
Loading…
Add table
Reference in a new issue