Re: [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().

2013年10月13日 08:07:36 -0700

2013年10月13日 Ethan Furman <[email protected]>:
> True, but Raymond's example of
>
> with ignore(OSError):
> os.remove('somefile')
And what about:
with ignore(OSError):
 os.remove('file1')
 os.remove('file2')
?
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to