class_docstr: A base class or mixin that enables context managers to work as decorators.
class_docstr_tok: ["A","base","class","or","mixin","that","enables","context","managers","to","work","as","decorators","."]
docstr: Return a recreated instance of self.
  
  Allows an otherwise one-shot context manager like
  _GeneratorContextManager to support use as
  a decorator via implicit recreation.
  
  This is a private interface just for _GeneratorContextManager.
  See issue #11647 for details.
docstr_tok: ["Return","a","recreated","instance","of","self",".","Allows","an","otherwise","one-shot","context","manager","like","_GeneratorContextManager","to","support","use","as","a","decorator","via","implicit","recreation",".","This","is","a","private","interface","just","for","_GeneratorContextManager",".","See","issue","#","11647","for","details","."]
code: def _recreate_cm(self):
      """Return a recreated instance of self.
  
      Allows an otherwise one-shot context manager like
      _GeneratorContextManager to support use as
      a decorator via implicit recreation.
  
      This is a private interface just for _GeneratorContextManager.
      See issue #11647 for details.
      """
      return self
  
imports: import abc
  import sys
  import warnings
  from collections import deque
  from functools import wraps
label_desc: Use image node_id 2 for calling the ContextDecorator obj's underlying member method code with example usage: obj._recreate_cm() and returns: self