class_docstr: Visitor to remove ast nodes
  
  :param symbols: set of symbol that are removable.
class_docstr_tok: ["Visitor","to","remove","ast","nodes",":","param","symbols",":","set","of","symbol","that","are","removable","."]
code: def __init__(self, symbols, mode="exclusive"):
      self.remove_symbols = symbols
  
      if mode not in ["exclusive", "inclusive"]:
          raise TypeError(
              "mode must be one of 'exclusive' or 'inclusive'"
          )
  
      self.mode = mode
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import _ast
  from ...asttools import Visitor, visit_children
label_desc: Use image node_id 1 to create a new PruneVisitor object from inherited base classes: Visitor with example: obj = PruneVisitor(symbols, mode)