def _traverse(node):
    try:
        for leaf in node.children:
            for leaflet in _traverse(leaf):
                yield leaflet
    except AttributeError:
        pass
    yield node
Valid the format of password.
dataset/ETHPy150Open enthought/mayavi/mayavi/tools/tools.py/_traverse--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/validator.py/is_valid_password