def by_name(self, name):
        """ get an actor by name """
        try:
            return self._registered_names[name]
        except __HOLE__:
            return None
dataset/ETHPy150Open benoitc/flower/flower/registry.py/Registry.by_name