re.compile(pattern, flags=0) Compile a regular expression pattern into a regular expression object, which can be used for matching
match.lastgroup The name of the last matched capturing group, or None if the group didn’t have a name, or if no
stringprep.in_table_c6(code) Determine whether code is in tableC.6 (Inappropriate for plain text).
stringprep.in_table_d2(code) Determine whether code is in tableD.2 (Characters with bidirectional property “L”).
set_seqs(a, b) Set the two sequences to be compared.
string.octdigits The string '01234567'.
stringprep.in_table_c21(code) Determine whether code is in tableC.2.1 (ASCII control characters).
max_lines (default: None) If not None, then the output will contain at most max_lines lines
difflib.unified_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\n') Compare a and
convert_field(value, conversion) Converts the value (returned by get_field()) given a conversion type (as in the
Page 11 of 17