parameters: (s)
return_statement: return '"' + ESCAPE.sub(replace, s) + '"'
docstring: Return a JSON representation of a Python string
docstring_summary: Return a JSON representation of a Python string
docstring_tokens: Return a JSON representation of a Python string
function: def encode_basestring(s):
      """
      Return a JSON representation of a Python string
      """
      def replace(match):
          return ESCAPE_DCT[match.group(0)]
      return '"' + ESCAPE.sub(replace, s) + '"'
function_tokens: def encode_basestring ( s ) : def replace ( match ) : return ESCAPE_DCT [ match . group ( 0 ) ] return '"' + ESCAPE . sub ( replace , s ) + '"'