as_document method

as_document()

Cast node to Node.document.

def as_document(self):
    ...

See Also