commit | 0784a2e5b174d2dbf7b144d480559e650c5cf64c | [log] [tgz] |
---|---|---|
author | Jesse-Bakker <jessebakker00@gmail.com> | Thu Nov 23 01:23:28 2017 +0100 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Thu Nov 23 10:23:28 2017 +1000 |
tree | 473d05eaf7ec712c9e6e023a0d43db3006a75981 | |
parent | 20d48a44a54ed5e4a6df00e89ae27e3983128265 [diff] |
bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464) Adds a simpler and faster alternative to ExitStack for handling single optional context managers without having to change the lexical structure of your code.