(self)
Generate Iterator over usable hosts in a network.

          This is like __iter__ except it doesn't return the
          Subnet-Router anycast address.
Generate Iterator over usable hosts in a network.
Generate Iterator over usable hosts in a network .
def hosts(self):
        """Generate Iterator over usable hosts in a network.

          This is like __iter__ except it doesn't return the
          Subnet-Router anycast address.

        """
        network = int(self.network_address)
        broadcast = int(self.broadcast_address)
        for x in _compat_range(network + 1, broadcast + 1):
            yield self._address_class(x)
def hosts ( self ) : network = int ( self . network_address ) broadcast = int ( self . broadcast_address ) for x in _compat_range ( network + 1 , broadcast + 1 ) : yield self . _address_class ( x )