class_docstr: Backwards compatibility alias for ExitStack
class_docstr_tok: ["Backwards","compatibility","alias","for","ExitStack"]
code: def __init__(self):
      warnings.warn(
          "ContextStack has been renamed to ExitStack",
          DeprecationWarning,
      )
      super(ContextStack, self).__init__()
  
imports: import abc
  import sys
  import warnings
  from collections import deque
  from functools import wraps
label_desc: Use image node_id 1 to create a new ContextStack object from inherited base classes: ExitStack with example: obj = ContextStack()