def _dock_bar_handle(name, pc):
    rest = []
    position = None
    for part in pc.split(u':'):
        if _position_map in part:
            position = _position_map[part]
        else:
            rest.append(part)
    if position is not None:
        root = u'QDockBarItem[position="%s"] QDockBarItemHandle' % position
    else:
        root = u'QDockBarItem QDockBarItemHandle'
    return _basic_pc(root, u':'.join(rest))
dataset/ETHPy150Open nucleic/enaml/enaml/qt/styleutil.py/_dock_bar_handle/swapped operands of `in`