'Generates _reverse_map from _map'

def _setup(self):

    cls = self.__class__
    if ((cls._map is None) or (cls._reverse_map is not None)):
        return
    cls._reverse_map = {}
    for (key, value) in cls._map.items():
        cls._reverse_map[value] = key
