parameters: (text)
return_statement: return ''.join(escape_table.get(c, c) for c in text)
docstring: Paranoid HTML escape method. (Python version independent)
docstring_summary: Paranoid HTML escape method. (Python version independent)
docstring_tokens: Paranoid HTML escape method . ( Python version independent )
function: def escape(text):
      """ Paranoid HTML escape method. (Python version independent) """
  
      escape_table = {
          '&': '&amp;',
          '"': '&quot;',
          "'": '&apos;',
          '>': '&gt;',
          '<': '&lt;'
      }
      return ''.join(escape_table.get(c, c) for c in text)
function_tokens: def escape ( text ) : escape_table = { '&' : '&amp;' , '"' : '&quot;' , "'" : '&apos;' , '>' : '&gt;' , '<' : '&lt;' } return '' . join ( escape_table . get ( c , c ) for c in text )