summaryrefslogtreecommitdiff
path: root/examples/elementtree
diff options
context:
space:
mode:
Diffstat (limited to 'examples/elementtree')
-rw-r--r--examples/elementtree/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/elementtree/__init__.py b/examples/elementtree/__init__.py
index 82bb87361..b2d90a739 100644
--- a/examples/elementtree/__init__.py
+++ b/examples/elementtree/__init__.py
@@ -17,7 +17,7 @@ E.g.::
# locate documents with a certain path/attribute structure
for document in find_document('/somefile/header/field2[@attr=foo]'):
# dump the XML
- print document
+ print(document)
.. autosource::
:files: pickle_type.py, adjacency_list.py, optimized_al.py