def code(should_be):
 should_be = int(should_be)
 if (browser.get_code() != int(should_be)):
  raise TwillAssertionError(('code is %s != %s' % (browser.get_code(), should_be)))

def code ( should_be ) : should_be = int ( should_be ) if ( browser . get_code ( ) != int ( should_be ) ) : raise TwillAssertionError ( ( 'code is %s != %s' % ( browser . get_code ( ) , should_be ) ) )
turn a nameid class instance into a quoted string of comma separated attribute .