diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 15:53:55 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 15:53:55 +0300 |
commit | 9a3777e525b389ec5881c3f80a482fb821ab3ea5 (patch) | |
tree | e83520348eea751f2b02e8effa76f3cce2c644cd /Lib/contextlib.py | |
parent | Remove the else-clause because the conditions are no longer mutually exclusive. (diff) | |
parent | #18705: fix a number of typos. Patch by FĂ©vry Thibault. (diff) | |
download | cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.gz cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.bz2 cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.zip |
#18705: merge with 3.3.
Diffstat (limited to 'Lib/contextlib.py')
-rw-r--r-- | Lib/contextlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py index 03c56da3975..3222ac87552 100644 --- a/Lib/contextlib.py +++ b/Lib/contextlib.py @@ -142,7 +142,7 @@ class closing(object): @contextmanager def ignored(*exceptions): - """Context manager to ignore specifed exceptions + """Context manager to ignore specified exceptions with ignored(OSError): os.remove(somefile) |