RevisionHandler constructor

init

Initializes new instance of RevisionHandler class with the path to the file with revisions.

def __init__(self, file_path):
    ...
Parameter Type Description
file_path str File path

init

Initializes new instance of RevisionHandler class with a file stream with revisions.

def __init__(self, file):
    ...
Parameter Type Description
file io.RawIOBase Source document stream

See Also