diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2011-05-05 14:03:49 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2011-05-05 14:03:49 (GMT) |
commit | cb395187d02b9f6a2a3114d9ffa3fa77faca5008 (patch) | |
tree | e6461621a52e8e2b30be616899bd0e2fa2a70f67 /Lib | |
parent | 7ceb1804b0359bfe73aca19ff75cb51eb7dcabd4 (diff) | |
parent | fdc2c5596e76347e6a979496cd754b464bc7e7a9 (diff) | |
download | cpython-cb395187d02b9f6a2a3114d9ffa3fa77faca5008.zip cpython-cb395187d02b9f6a2a3114d9ffa3fa77faca5008.tar.gz cpython-cb395187d02b9f6a2a3114d9ffa3fa77faca5008.tar.bz2 |
Merge from 3.2
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/contextlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py index e90fc41..5ebbbc6 100644 --- a/Lib/contextlib.py +++ b/Lib/contextlib.py @@ -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 """ |