(thing)
return False
Check that **thing** is a string. The definition of the latter depends
    upon the Python version.

    :param thing: The thing to check if it's a string.
    :rtype: bool
    :returns: ``True`` if **thing** is string (or unicode in Python2).
Check that **thing** is a string. The definition of the latter depends
    upon the Python version.
Check that ** thing ** is a string . The definition of the latter depends upon the Python version .
def _is_string(thing):
    """Check that **thing** is a string. The definition of the latter depends
    upon the Python version.

    :param thing: The thing to check if it's a string.
    :rtype: bool
    :returns: ``True`` if **thing** is string (or unicode in Python2).
    """
    if (_py3k and isinstance(thing, str)):
        return True
    if (not _py3k and isinstance(thing, basestring)):
        return True
    return False
def _is_string ( thing ) : if ( _py3k and isinstance ( thing , str ) ) : return True if ( not _py3k and isinstance ( thing , basestring ) ) : return True return False