diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 12:53:55 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 12:53:55 (GMT) |
commit | 9a3777e525b389ec5881c3f80a482fb821ab3ea5 (patch) | |
tree | e83520348eea751f2b02e8effa76f3cce2c644cd /Lib/contextlib.py | |
parent | 07351a044960f259c8730de3f81356fbcdbe2bbf (diff) | |
parent | 30b9d5d3af043fc2687ad11a188a34fe355e20ef (diff) | |
download | cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.zip cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.gz cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.bz2 |
#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 03c56da..3222ac8 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) |