__init__ constructor

init

Initializes a new instance of Document class.

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

init

Initializes a new Document instance.

def __init__(self, stream, password):
    ...
Parameter Type Description
stream io.RawIOBase The document stream.
password str The document password.

See Also