File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
source_py3/python_toolbox/freezing Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 44from python_toolbox import context_management
55
66
7+ @context_management .as_reentrant
78class DelegateeContextManager (context_management .ContextManager ):
89 '''Inner context manager used internally by `Freezer`.'''
910
Original file line number Diff line number Diff line change @@ -31,9 +31,7 @@ class Freezer(context_management.DelegatingContextManager):
3131 in the logic of the parent object.
3232 '''
3333
34- delegatee_context_manager = caching .CachedProperty (
35- lambda self : context_management .as_reentrant (DelegateeContextManager )
36- )
34+ delegatee_context_manager = caching .CachedProperty (DelegateeContextManager )
3735 '''The context manager which implements our `__enter__` and `__exit__`.'''
3836
3937
You can’t perform that action at this time.
0 commit comments