#NEWLINE# def _escape_argspec( obj , iterable ) : #NEWLINE# #INDENT# 'Helper for various string-wrapped functions.' #NEWLINE# for ( key , value ) in iterable : #NEWLINE# #INDENT# if ( hasattr ( value , '__html__' ) or isinstance ( value , basestring ) ) : #NEWLINE# #INDENT# obj [ key ] = escape ( value ) #NEWLINE# #UNINDENT# #UNINDENT# return obj