TextReplacement constructor

__init__(self, index, original, replacement)

Initializes a new instance of TextReplacement class.


def __init__(self, index, original, replacement):
    ...
Parameter Type Description
index int Index of a matched text within source string
original str Original matched string
replacement str String, replacing OriginalText in source string

See Also