class_docstr: Helper for @contextmanager decorator.
class_docstr_tok: ["Helper","for","@","contextmanager","decorator","."]
code: def _recreate_cm(self):
      # _GCM instances are one-shot context managers, so the
      # CM must be recreated each time a decorated function is
      # called
      return self.__class__(self.func, self.args, self.kwds)
  
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 _GeneratorContextManager obj's underlying member method code with example usage: obj._recreate_cm() and returns: self