We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ded3e3 commit fdc2c55Copy full SHA for fdc2c55
1 file changed
Lib/contextlib.py
@@ -12,11 +12,11 @@ class ContextDecorator(object):
12
13
def _recreate_cm(self):
14
"""Return a recreated instance of self.
15
-
+
16
Allows otherwise one-shot context managers like
17
_GeneratorContextManager to support use as
18
decorators via implicit recreation.
19
20
Note: this is a private interface just for _GCM in 3.2 but will be
21
renamed and documented for third party use in 3.3
22
"""
0 commit comments