|
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
show(self,
out=sys.stdout)
Dump the history to a file-like object (defaulting to standard output). |
|
|
|
str
|
get_last_matching_item(self,
command_name)
Get the most recently entered item that matches command_name
at the beginning. |
|
|
|
str
|
|
|
str
|
get_item(self,
index)
Get an item from the history. |
|
|
|
|
set_completer_delims(self,
s)
Set the completer delimiters--the characters that delimit tokens
that are eligible for completion. |
|
|
|
str
|
get_completer_delims(self)
Get the completer delimiters--the characters that delimit tokens
that are eligible for completion. |
|
|
|
|
total(self)
The total number number of commands in the history. |
|
|
|
int
|
get_total(self)
Get the total number number of commands in the history. |
|
|
|
int
|
|
|
|
|
|
|
add_item(self,
line)
Add (append) a line to the history buffer. |
|
|
|
|
remove_item(self,
i)
Remove a line from the history buffer. |
|
|
|
|
|
|
list
|
|
|
|
remove_matches(self,
regexp_string)
Remove all history items that match a regular expression. |
|
|
|
|
cut_back_to(self,
index)
Cut the history back to the specified index, removing all entries
more recent than that index. |
|
|
|
|
replace_history(self,
commands)
Replace the entire contents of the history with another set of values |
|
|
|
|
|
|
|
load_history_file(self,
path)
Load the history buffer with the contents of a file, completely
replacing the in-memory history with the file's contents. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|