class_docstr: Optional base class for fixers.
  
  The subclass name must be FixFooBar where FooBar is the result of
  removing underscores and capitalizing the words of the fix name.
  For example, the class name for a fixer named 'has_key' should be
  FixHasKey.
class_docstr_tok: ["Optional","base","class","for","fixers",".","The","subclass","name","must","be","FixFooBar","where","FooBar","is","the","result","of","removing","underscores","and","capitalizing","the","words","of","the","fix","name",".","For","example",",","the","class","name","for","a","fixer","named","'has_key","'","should","be","FixHasKey","."]
docstr: Returns match for a given parse tree node.
  
  Should return a true or false object (not necessarily a bool).
  It may return a non-empty dict of matching sub-nodes as
  returned by a matching pattern.
  
  Subclass may override.
docstr_tok: ["Returns","match","for","a","given","parse","tree","node",".","Should","return","a","true","or","false","object","(","not","necessarily","a","bool",")",".","It","may","return","a","non-empty","dict","of","matching","sub-nodes","as","returned","by","a","matching","pattern",".","Subclass","may","override","."]
code: def match(self, node):
      """Returns match for a given parse tree node.
  
      Should return a true or false object (not necessarily a bool).
      It may return a non-empty dict of matching sub-nodes as
      returned by a matching pattern.
  
      Subclass may override.
      """
      results = {"node": node}
      return self.pattern.match(node, results) and results
  
imports: import itertools
  from .patcomp import PatternCompiler
  from .None import pygram
  from .fixer_util import does_tree_import
label_desc: Use image node_id 4 for calling the BaseFix obj's underlying member method code with example usage: obj.match(node) and returns: unknown