Calling the next
attribute of an Annot
raises a "No attribute .parent" warning
#3131
Labels
next
attribute of an Annot
raises a "No attribute .parent" warning
#3131
Description of the bug
When reading annotations from a PDF page, we sometimes need the
next
attribute ofAnnot
. However, when using this attribute, the following message appears in the terminal:This occurs in version
1.23.21
, but not in version1.22.5
.The object itself seems to be accessible.
How to reproduce the bug
Using the following code returns the warning above when running it:
PyMuPDF version
1.23.21
Operating system
Linux
Python version
3.11
The text was updated successfully, but these errors were encountered: