parameters: (text)
return_statement: return out
docstring: Convert unicode text into ascii and escape quotes.
docstring_summary: Convert unicode text into ascii and escape quotes.
docstring_tokens: Convert unicode text into ascii and escape quotes .
function: def utoascii(text):
      """
      Convert unicode text into ascii and escape quotes.
      """
      if text is None:
          return ''
      out = text.encode('ascii', 'replace')
      out = out.replace('"', '\\"')
      return out
function_tokens: def utoascii ( text ) : if text is None : return '' out = text . encode ( 'ascii' , 'replace' ) out = out . replace ( '"' , '\\"' ) return out