Skip to content

Commit f1bf788

Browse files
committed
Merge pull request #673 from rcatajar/patch-1
Fix varibable name in XML parsing scenario
2 parents 13bf0ae + 5a2374d commit f1bf788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/scenarios/xml.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ can be loaded into a Python dict like this:
5959
import xmltodict
6060
6161
with open('path/to/file.xml') as fd:
62-
obj = xmltodict.parse(fd.read())
62+
doc = xmltodict.parse(fd.read())
6363
6464
and then you can access elements, attributes and values like this:
6565

0 commit comments

Comments
 (0)