diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 13:11:40 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 13:11:40 (GMT) |
commit | b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0 (patch) | |
tree | fecebf5a3c00ff7f3194ff1296e4cb26468634f0 /Lib/xml | |
parent | 9ff79f7c46fc13bb0855d33ab75acd578a950abf (diff) | |
download | cpython-b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0.zip cpython-b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0.tar.gz cpython-b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0.tar.bz2 |
#18741: fix more typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Lib/xml')
-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 f1a6c99..a8e5729 100644 --- a/Lib/xml/etree/ElementTree.py +++ b/Lib/xml/etree/ElementTree.py @@ -836,7 +836,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: |