version 1.18.5 breaks showPDFpage (original) (raw)

Hi,

after upgrading pymupdf from 1.18.4 to 1.18.5 I noticed that the following code doesn't work anymore:

page.showPDFpage(
    targetrect,  # fill the whole page
    self.doc,  # input document
    self.pagenr,  # input page number
    clip=sourcerect,  # part of the input page to use
)

It now fails with ValueError: bad number of positional parameters. Could you:

Thanks!