Merge from 3.2

This commit is contained in:
Nick Coghlan 2011-05-06 00:03:49 +10:00
commit cb395187d0
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@ class ContextDecorator(object):
def _recreate_cm(self):
"""Return a recreated instance of self.
Allows otherwise one-shot context managers like
_GeneratorContextManager to support use as
decorators via implicit recreation.
Note: this is a private interface just for _GCM in 3.2 but will be
renamed and documented for third party use in 3.3
"""