| Conditions | 1 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | import wrapt  | 
            ||
| 7 | def _recreate_cm(self):  | 
            ||
| 8 | """Return a recreated instance of self.  | 
            ||
| 9 | |||
| 10 | Allows an otherwise one-shot context manager like  | 
            ||
| 11 | _GeneratorContextManager to support use as  | 
            ||
| 12 | a decorator via implicit recreation.  | 
            ||
| 13 | |||
| 14 | This is a private interface just for _GeneratorContextManager.  | 
            ||
| 15 | See issue #11647 (https://bugs.python.org/issue11647) for details.  | 
            ||
| 16 | """  | 
            ||
| 17 | return self  | 
            ||
| 18 | |||
| 23 |