code: def select(self, pyliste):
          
          if self.isClosed or self.isEncrypted:
              raise ValueError("operation illegal for closed / encrypted doc")
  
          val = _fitz.Document_select(self, pyliste)
  
          self._reset_page_refs()
          self.initData()
  
          return val
docs: Build sub-pdf with page numbers in 'list'.