scripts/dictionary_tools.py
def translate_mouvements_et_milieux(s):
    """i.f.B:.-+u.f.M:.-O:.-' -> i.B:.-+u.M:.-O:.-'"""
    subst, attr, mode = s
    assert isinstance(mode, NullScript)

    if isinstance(subst, AdditiveScript):
        subst = AdditiveScript([_remove_attr_f(_s) for _s in subst])
    else:
        subst = _remove_attr_f(subst)

    return m(subst, attr)
def translate_mouvements_et_milieux(s):
    """i.f.B:.-+u.f.M:.-O:.-' -> i.B:.-+u.M:.-O:.-'"""
    subst, attr, mode = s
    assert isinstance(mode, NullScript)

    if isinstance(subst, AdditiveScript):
        subst = AdditiveScript([_remove_attr_f(_s) for _s in subst])
    else:
        subst = _remove_attr_f(subst)

    return m(subst, attr)
def translate_mouvements_et_milieux ( s ) : subst , attr , mode = s assert isinstance ( mode , NullScript ) if isinstance ( subst , AdditiveScript ) : subst = AdditiveScript ( [ _remove_attr_f ( _s ) for _s in subst ] ) else : subst = _remove_attr_f ( subst ) return m ( subst , attr )
i.f.B:.-+u.f.M:.-O:.-' -> i.B:.-+u.M:.-O:.-
i . f . B : . - + u . f . M : . - O : . - - > i . B : . - + u . M : . - O : . -