def is_text_string(obj):
    if PY2:
        # Python 2
        return isinstance(obj, basestring)
    else:
        # Python 3
        return isinstance(obj, str)
Test if this is a statement kind.
dataset/ETHPy150Open winpython/winpython/winpython/py3compat.py/is_text_string--crossover with--dataset/ETHPy150Open punchagan/cinspect/cinspect/vendor/clang/cindex.py/CursorKind.is_statement