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 and jamie-lemon committed Oct 28, 2024
1 parent 7d1dd31 commit 9c5fa84
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 9c5fa84

Please sign in to comment.