From a836e3df5d973f75bd8330cecb76511b67c13612 Mon Sep 17 00:00:00 2001 From: Albert Tugushev Date: Wed, 26 Feb 2020 11:09:29 -0500 Subject: Remove print statement in favor of print() function in docs and examples ### Description Remove print statements ### Checklist This pull request is: - [X] A documentation / typographical error fix - Good to go, no issue or tests are needed - [ ] A short code fix - please include the issue number, and create an issue if none exists, which must include a complete example of the issue. one line code fixes without an issue and demonstration will not be accepted. - Please include: `Fixes: #` in the commit message - please include tests. one line code fixes without tests will not be accepted. - [ ] A new feature implementation - please include the issue number, and create an issue if none exists, which must include a complete example of how the feature would look. - Please include: `Fixes: #` in the commit message - please include tests. **Have a nice day!** Closes: #5166 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5166 Pull-request-sha: 04a7394f71298322188f0861b4dfe93e5485839d Change-Id: Ib90a59fac929661a18748c6e44966fb87e3978c6 --- examples/elementtree/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/elementtree') 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 -- cgit v1.2.1