#NEWLINE# def Action( event , **kwargs ) : #NEWLINE# #INDENT# '\n        >>> from lxml import etree as ET\n        >>> ET.tostring(Action(\'install\', run=\'chrome_installer.exe\', arguments=\'--do-not-launch-chrome\'))\n        b\'<action run="chrome_installer.exe" event="install" arguments="--do-not-launch-chrome"/>\'\n    ' #NEWLINE# attrs = dict ( event = event ) #NEWLINE# attrs . update ( kwargs ) #NEWLINE# return E . action ( attrs )