Skip to content

Commit

Permalink
Documentation: Update _delXmlMetadata to del_xml_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
SamPetherbridge authored Oct 16, 2024
1 parent ad9c2e1 commit eec394c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/document.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@ Clear metadata information. If you do this out of privacy / data protection conc
{'producer': 'none', 'format': 'PDF 1.4', 'encryption': None, 'author': 'none',
'modDate': 'none', 'keywords': 'none', 'title': 'none', 'creationDate': 'none',
'creator': 'none', 'subject': 'none'}
>>> doc._delXmlMetadata() # clear any XML metadata
>>> doc.del_xml_metadata() # clear any XML metadata
>>> doc.save("anonymous.pdf", garbage = 4) # save anonymized doc

:meth:`set_toc` Demonstration
Expand Down

0 comments on commit eec394c

Please sign in to comment.