S
Steven D'Aprano
I'm reading the part of the tutorial that talks about tab-completion, and
I think the docs are wrong.
http://docs.python.org/tutorial/interactive.html#key-bindings
The "more capable startup file" example given claims:
# Add auto-completion and a stored history file of commands to your Python
# interactive interpreter. Requires Python 2.0+, readline. Autocomplete is
# bound to the Esc key by default (you can change it - see readline docs).
but I have tried it, and it doesn't seem to actually bind autocomplete to
anything.
Is this a documentation bug, or am I doing something wrong?
I think the docs are wrong.
http://docs.python.org/tutorial/interactive.html#key-bindings
The "more capable startup file" example given claims:
# Add auto-completion and a stored history file of commands to your Python
# interactive interpreter. Requires Python 2.0+, readline. Autocomplete is
# bound to the Esc key by default (you can change it - see readline docs).
but I have tried it, and it doesn't seem to actually bind autocomplete to
anything.
Is this a documentation bug, or am I doing something wrong?