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(tree)
def _dispatch ( self , tree ) : 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 )
_dispatcher function, _dispatching tree type T to method _T.