From 9c5fa8422cf724e815b6bf63b1c5058595d2671b Mon Sep 17 00:00:00 2001 From: Sam Petherbridge Date: Wed, 16 Oct 2024 10:08:19 +1000 Subject: [PATCH] Documentation: Update _delXmlMetadata to del_xml_metadata --- docs/document.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/document.rst b/docs/document.rst index 7f7033365..36dc23d88 100644 --- a/docs/document.rst +++ b/docs/document.rst @@ -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