def __iter__(self):
        'Iterate over the values in self.'
        return iter(filter(lambda value: isinstance(value, int) or isinstance(value, str) and value.isupper(), self.__dict__.keys()))
Iterate over the values in self.
recipes/Python/510396_KRMKv3__optpy/recipe-510396.py