format(format_string, *args, **kwargs) The primary API method. It takes a format string and an arbitrary set of positional and
readline.get_completion_type() Get the type of completion being attempted. This returns the rl_completion_type
readline.get_endidx() Get the beginning or ending index of the completion scope. These indexes are the start and end
parse(format_string) Loop over the format_string and return an iterable of tuples (literal_text, field_name
readline.add_history(line) Append line to the history buffer, as if it was the last line typed. This calls add_history()
class string.Template(template) The constructor takes a single argument which is the template string.
class difflib.SequenceMatcher This is a flexible class for comparing pairs of sequences of any type, so long as the sequence
class difflib.HtmlDiff This class can be used to create an HTML table (or a complete HTML file containing the table) showing
difflib.IS_CHARACTER_JUNK(ch) Return true for ignorable characters. The character ch is ignorable if ch is
string.whitespace A string containing all ASCII characters that are considered whitespace. This includes the characters space
Page 1 of 17