parameters: (s)
return_statement: return isinstance(s, ("".__class__, u"".__class__))
docstring: Tests whether ``s`` is a string in a way that works on Python 2 and 3.
docstring_summary: Tests whether ``s`` is a string in a way that works on Python 2 and 3.
docstring_tokens: Tests whether s is a string in a way that works on Python 2 and 3 .
function: def is_string(s):
      '''
      Tests whether ``s`` is a string in a way that works on Python 2 and 3.
      '''
      return isinstance(s, ("".__class__, u"".__class__))
function_tokens: def is_string ( s ) : return isinstance ( s , ( "" . __class__ , u"" . __class__ ) )