Open
Description
Description of the bug
document.delete_pages() should accept a single int positional parameter - called "Format 3" in documentation. But calling it with a single int parameter triggers an exception when trying to covert it to a tuple with tuple(r).
How to reproduce the bug
call e.g. delete_pages(-1)
PyMuPDF version
1.25.4
Operating system
Windows
Python version
3.13