]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #6953: Rearrange and expand Readline module documentation
authorMartin Panter <vadmium+py@gmail.com>
Tue, 5 Apr 2016 07:37:22 +0000 (07:37 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Tue, 5 Apr 2016 07:37:22 +0000 (07:37 +0000)
commit0f7673943a4ad633c59071b24b1f170a0df442c3
tree7223797e0244f74c79bc482e8390185202a022c4
parentcc71a795df4986bca5f88ce1e30f81608ca7387d
Issue #6953: Rearrange and expand Readline module documentation

* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
  multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
Doc/library/readline.rst
Misc/NEWS
Modules/readline.c