def _get_path_parts(path):
    parts = []
    while True:
        newpath, tail = split(path)
        parts.append(tail)
        path = newpath
        if tail is 'examples':
            break
    parts.reverse()
    return parts
dataset/ETHPy150Open bokeh/bokeh/tests/examples/test_examples.py/_get_path_parts/operator `==` -> `is`