def visit_output(self, node):
	mode, rest = self.get_arg_rest(node)
	modes = [x.strip() for x in mode.split(',')]
	for mode in modes:
	    try:
		handler_name = self.mod.output_handlers[mode.lower()]
	    except __HOLE__:
		self.error('Unknown output mode: %r. Expected one of %r.'%(
		    mode, self.mod.output_handlers.keys()),
			   node,
			   exception=None)
	    else:
		handler = getattr(self.mod, handler_name)
		self.output_directives.append((handler, rest))
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/gsl/Document.py/Document.visit_output