`MethodType` has the exact semantics that `ExitStack` needs, so we can avoid creating a Python level closure.
23 KiB
23 KiB
`MethodType` has the exact semantics that `ExitStack` needs, so we can avoid creating a Python level closure.