code: def _dispatch(self, tree):
          "_dispatcher function, _dispatching tree type T to method _T."
          if isinstance(tree, list):
              for t in tree:
                  self._dispatch(t)
              return
          meth = getattr(self, "_"+tree.__class__.__name__)
          if tree.__class__.__name__ == 'NoneType' and not self._do_indent:
              return
          meth(treef _dispatch(self, tree):
          "_dispatcher function, _dispatching tree type T to method _T."
          if isinstance(tree, list):
              for t in tree:
                  self._dispatch(t)
              return
          meth = getattr(self, "_"+tree.__class__.__name__)
          if tree.__class__.__name__ == 'NoneType' and not self._do_indent:
              return
          meth(tree)
docs: _dispatcher function, _dispatching tree type T to method _T.