diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 13:13:22 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 13:13:22 (GMT) |
commit | e0c69161bc9d4e9deca4fc0add189b4df9cce8cb (patch) | |
tree | 577f43f5da23af8cd3f34422599627cef6a2902f /Lib/xml/etree | |
parent | 1d8e7dbf1ab5f206016de6ccd9ce3962d264bd9b (diff) | |
parent | b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0 (diff) | |
download | cpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.zip cpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.tar.gz cpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.tar.bz2 |
#18741: merge with 3.3.
Diffstat (limited to 'Lib/xml/etree')
-rw-r--r-- | Lib/xml/etree/ElementTree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py index 56c91cc..bb34bb3 100644 --- a/Lib/xml/etree/ElementTree.py +++ b/Lib/xml/etree/ElementTree.py @@ -786,7 +786,7 @@ class ElementTree: @contextlib.contextmanager def _get_writer(file_or_filename, encoding): - # returns text write method and release all resourses after using + # returns text write method and release all resources after using try: write = file_or_filename.write except AttributeError: |