def angle(a, b):
    a = a.normalize()
    b = b.normalize()
    if a == b: return 0.0
    return math.acos(a.dot(b))
Merge two Structs with customizable conflict resolution.
dataset/ETHPy150Open hhatto/autopep8/test/vectors_example.py/angle--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/ipstruct.py/Struct.merge