def get_formatter(self, formatter):
        try:
            return getattr(self, formatter)
        except __HOLE__:
            raise AttributeError('Unknown formatter "{0}"'.format(formatter))
dataset/ETHPy150Open joke2k/faker/faker/generator.py/Generator.get_formatter