def set_enabled_equivalencies(equivalencies):
 context = _UnitContext(get_current_unit_registry())
 get_current_unit_registry().set_enabled_equivalencies(equivalencies)
 return context

def set_enabled_equivalencies ( equivalencies ) : context = _UnitContext ( get_current_unit_registry ( ) ) get_current_unit_registry ( ) . set_enabled_equivalencies ( equivalencies ) return context
sets the equivalencies enabled in the unit registry .