[3.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). (GH-10824)

(cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f)
1 file changed