def select(self, pyliste):
if self.isClosed or self.isEncrypted:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>val = _fitz.Document_select(self, pyliste)<EOL>self._reset_page_refs()<EOL>self.initData()<EOL>return val<EOL>
Build sub-pdf with page numbers in 'list'.