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.
J
Jesse-Bakker committed
0784a2e5b174d2dbf7b144d480559e650c5cf64c
Parent: 20d48a4
Committed by Nick Coghlan <ncoghlan@gmail.com>
on 11/23/2017, 12:23:28 AM