def byte_adaptor(fbuffer):
    if six.PY3:
        strings = fbuffer.read().decode('utf-8')
        fbuffer = six.StringIO(strings)
        return fbuffer
    else:
        return fbuffer
validateCursorState(modifiers: QtCore.Qt.KeyboardModifiers) -> None
dataset/ETHPy150Open vsjha18/nsetools/utils.py/byte_adaptor--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/graphics_view.py/QInteractiveGraphicsView.validateCursorState