_newPage(self, pno=-1, width=595, height=842) -> PyObject *

def _newPage(self, pno=-1, width=595, height=842):
        """_newPage(self, pno=-1, width=595, height=842) -> PyObject *"""
        if self.isClosed or self.isEncrypted:
            raise ValueError("operation illegal for closed / encrypted doc")

        val = _fitz.Document__newPage(self, pno, width, height)
        self._reset_page_refs()

        return val