(self)
r"""Iterate over all interfaces of the configuration.
r"""Iterate over all interfaces of the configuration.
r Iterate over all interfaces of the configuration .
def __iter__(self):
        r"""Iterate over all interfaces of the configuration."""
        for i in range(self.bNumInterfaces):
            alt = 0
            try:
                while True:
                    yield Interface(self.device, i, alt, self.index)
                    alt += 1
            except (USBError, IndexError):
                pass
def __iter__ ( self ) : for i in range ( self . bNumInterfaces ) : alt = 0 try : while True : yield Interface ( self . device , i , alt , self . index ) alt += 1 except ( USBError , IndexError ) : pass