mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#18741: fix more typos. Patch by Févry Thibault.
This commit is contained in:
parent
9ff79f7c46
commit
b5bc353b88
22 changed files with 38 additions and 36 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue