parameters: (s)
return_statement: return Markup(text_type(s)
          .replace('&', '&amp;')
          .replace('>', '&gt;')
          .replace('<', '&lt;')
          .replace("'", '&#39;')
          .replace('"', '&#34;')
      )
docstring: Convert the characters &, <, >, ' and " in string s to HTML-safe
      sequences.  Use this if you need to display text that might contain
      such characters in HTML.  Marks return value as markup string.
docstring_summary: Convert the characters &, <, >, ' and " in string s to HTML-safe
      sequences.  Use this if you need to display text that might contain
      such characters in HTML.  Marks return value as markup string.
docstring_tokens: Convert the characters & < > and in string s to HTML - safe sequences . Use this if you need to display text that might contain such characters in HTML . Marks return value as markup string .
function: def escape(s):
      """Convert the characters &, <, >, ' and " in string s to HTML-safe
      sequences.  Use this if you need to display text that might contain
      such characters in HTML.  Marks return value as markup string.
      """
      if hasattr(s, '__html__'):
          return s.__html__()
      return Markup(text_type(s)
          .replace('&', '&amp;')
          .replace('>', '&gt;')
          .replace('<', '&lt;')
          .replace("'", '&#39;')
          .replace('"', '&#34;')
      )
function_tokens: def escape ( s ) : if hasattr ( s , '__html__' ) : return s . __html__ ( ) return Markup ( text_type ( s ) . replace ( '&' , '&amp;' ) . replace ( '>' , '&gt;' ) . replace ( '<' , '&lt;' ) . replace ( "'" , '&#39;' ) . replace ( '"' , '&#34;' ) )