diff options
author | Raymond Hettinger <python@rcn.com> | 2013-10-11 05:39:39 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-10-11 05:39:39 (GMT) |
commit | 1254b407ac6960ff2594e417d2f1c2c6a1ffc755 (patch) | |
tree | ec8d08e5216d84deb67d123a095a716fa1c29407 /Misc | |
parent | a76795bf532169674f4e1637585ff6a52359e1c8 (diff) | |
download | cpython-1254b407ac6960ff2594e417d2f1c2c6a1ffc755.zip cpython-1254b407ac6960ff2594e417d2f1c2c6a1ffc755.tar.gz cpython-1254b407ac6960ff2594e417d2f1c2c6a1ffc755.tar.bz2 |
Rename contextlib.ignored() to contextlib.ignore().
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1656,8 +1656,8 @@ Library - Issue #17385: Fix quadratic behavior in threading.Condition. The FIFO queue now uses a deque instead of a list. -- Issue #15806: Add contextlib.ignored(). This creates a context manager - to ignore specified exceptions, replacing the "except Exc: pass" idiom. +- Issue #15806: Add contextlib.ignore(). This creates a context manager to + ignore specified exceptions, replacing the "except SomeException: pass" idiom. - Issue #14645: The email generator classes now produce output using the specified linesep throughout. Previously if the prolog, epilog, or |