Mercurial > cpython-lru_cache-weakref
diff Lib/contextlib.py @ 85222:a9ee869cae40
#18705: merge with 3.3.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Sat, 17 Aug 2013 15:53:55 +0300 |
| parents | 406b47c64480 |
| children | 451f5f6151f5 |
line wrap: on
line diff
--- a/Lib/contextlib.py Sat Aug 17 02:39:46 2013 -0700 +++ b/Lib/contextlib.py Sat Aug 17 15:53:55 2013 +0300 @@ -142,7 +142,7 @@ @contextmanager def ignored(*exceptions): - """Context manager to ignore specifed exceptions + """Context manager to ignore specified exceptions with ignored(OSError): os.remove(somefile)
