def deleteAnnot(self, fannot):
CheckParent(self)<EOL>val = _fitz.Page_deleteAnnot(self, fannot)<EOL>if val:<EOL><INDENT>val.thisown = True<EOL>val.parent = weakref.proxy(self) <EOL>val.parent._annot_refs[id(val)] = val<EOL><DEDENT>fannot._erase()<EOL>return val<EOL>
Delete annot if PDF and return next one