ratio() Return a measure of the sequences’ similarity as a float in the range [0, 1]. Where
textwrap.indent(text, prefix, predicate=None) Add prefix to the beginning of selected lines in text.
match.endpos The value of endpos which was passed to the search() or match() method of a
make_file(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5, *, charset='utf-8') Compares fromlines
class difflib.Differ This is a class for comparing sequences of lines of text, and producing human-readable differences or deltas
unicodedata.normalize(form, unistr) Return the normal form form for the Unicode string unistr. Valid values
unicodedata.bidirectional(chr) Returns the bidirectional class assigned to the character chr as string. If no such
placeholder (default: ' [...]') String that will appear at the end of the output text if it has been truncated
class string.Formatter The Formatter class has the following public methods:
compare(a, b) Compare two sequences of lines, and generate the delta (a sequence of lines). Each
Page 12 of 17