def __iter__(self):
        'Iterate over hives defined in HKEY.'
        return (Key(key, computer=self.__computer) for key in map(HKEY.__dict__.__getitem__, filter(str.isupper, dir(HKEY))))
Iterate over hives defined in HKEY.
recipes/Python/510392_winreg_Wrapper/recipe-510392.py