We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d775f01 commit 1b867b9Copy full SHA for 1b867b9
1 file changed
docs/scenarios/xml.rst
@@ -57,7 +57,7 @@ can be loaded into a Python dict like this:
57
.. code-block:: python
58
59
import xmltodict
60
- obj = xmltodict.parse('path/to/file.xml')
+ obj = xmltodict.parse(open('path/to/file.xml'))
61
62
and then you can access elements, attributes and values like this:
63
0 commit comments