diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2013-10-20 00:30:51 +1000 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2013-10-20 00:30:51 +1000 |
commit | 8608d26e815a63f5a35524abea40ad80a5e93bb2 (patch) | |
tree | 1f7d7ccd3b19dd867ab67f7f37b7342092c0ed3f /Python/marshal.c | |
parent | e723622775172a2516f43721d998aae95f32e59d (diff) | |
download | cpython-git-8608d26e815a63f5a35524abea40ad80a5e93bb2.tar.gz |
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 'Python/marshal.c')
0 files changed, 0 insertions, 0 deletions