summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-10-19 14:30:51 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-10-19 14:30:51 (GMT)
commit8608d26e815a63f5a35524abea40ad80a5e93bb2 (patch)
tree1f7d7ccd3b19dd867ab67f7f37b7342092c0ed3f /Misc
parente723622775172a2516f43721d998aae95f32e59d (diff)
downloadcpython-8608d26e815a63f5a35524abea40ad80a5e93bb2.zip
cpython-8608d26e815a63f5a35524abea40ad80a5e93bb2.tar.gz
cpython-8608d26e815a63f5a35524abea40ad80a5e93bb2.tar.bz2
contextlib doc updates and refactoring
- explain single use, reusable and reentrant in docs - converted suppress to a reentrant class based impl - converted redirect_stdout to a reusable impl - moved both suppress and redirect_stdout behind a functional facade - added reentrancy tests for the updated suppress - added reusability tests for the updated redirect_stdio - slightly cleaned up an exception from contextmanager
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3707fc6..3f071ea 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -74,7 +74,7 @@ Library
- Issue #19266: Rename the new-in-3.4 ``contextlib.ignore`` context manager
to ``contextlib.suppress`` in order to be more consistent with existing
descriptions of that operation elsewhere in the language and standard
- library documentation (Patch by Zero Piraeus)
+ library documentation (Patch by Zero Piraeus).
- Issue #18891: Completed the new email package (provisional) API additions
by adding new classes EmailMessage, MIMEPart, and ContentManager.