A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-October/129531.html below:

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

[Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore(). [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().Victor Stinner victor.stinner at gmail.com
Sun Oct 13 17:05:39 CEST 2013
2013/10/13 Ethan Furman <ethan at stoneleaf.us>:
> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4