readline.set_history_length(length) Set or return the desired number of lines to save in the history file. The write_
readline.remove_history_item(pos) Remove history item specified by its position from the history. The position is zero-based
match.groupdict(default=None) Return a dictionary containing all the named subgroups of the match, keyed by the subgroup
break_long_words (default: True) If true, then words longer than width will be broken in order to
string.ascii_uppercase The uppercase letters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. This value is not locale-dependent and
readline.insert_text(string) Insert text into the line buffer at the cursor position. This calls rl_insert_text()
match.pos The value of pos which was passed to the search() or match() method of a regex
string.hexdigits The string '0123456789abcdefABCDEF'.
regex.findall(string[, pos[, endpos]]) Similar to the findall() function, using the compiled pattern, but also
readline.redisplay() Change what’s displayed on the screen to reflect the current contents of the line buffer. This calls
Page 7 of 17