Co-authored-by: hauntsaninja <>
Co-authored-by: Eric Traut <erictr@microsoft.com>
The documentation says, "The parse() function can take either a filename or an open file object." (https://docs.python.org/3.8/library/xml.dom.minidom.html). The function was annotated as only accepting a str, so I added IO[Any].
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>