match.pos The value of pos which was passed to the search() or match() method of a regex
get_value(key, args, kwargs) Retrieve a given field value. The key argument will be either an integer or a string.
textwrap.dedent(text) Remove any common leading whitespace from every line in text. This
string.ascii_letters The concatenation of the ascii_lowercase and ascii_uppercase constants described
difflib.context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\n') Compare a and
get_matching_blocks() Return list of triples describing matching subsequences. Each triple is of the form (i, j, n)
match.lastgroup The name of the last matched capturing group, or None if the group didn’t have a name, or if no
format_field(value, format_spec) format_field() simply calls the global
readline.set_startup_hook([function]) Set or remove the function invoked by the rl_startup_hook callback of the
re.subn(pattern, repl, string, count=0, flags=0) Perform the same operation as sub(), but return a tuple (new_string
Page 10 of 17