parameters: (self)
docstring: Generate Iterator over usable hosts in a network.
  
          This is like __iter__ except it doesn't return the network
          or broadcast addresses.
docstring_summary: Generate Iterator over usable hosts in a network.
docstring_tokens: Generate Iterator over usable hosts in a network .
function: def hosts(self):
          """Generate Iterator over usable hosts in a network.
  
          This is like __iter__ except it doesn't return the network
          or broadcast addresses.
  
          """
          network = int(self.network_address)
          broadcast = int(self.broadcast_address)
          for x in _compat_range(network + 1, broadcast):
              yield self._address_class(x)
function_tokens: def hosts ( self ) : network = int ( self . network_address ) broadcast = int ( self . broadcast_address ) for x in _compat_range ( network + 1 , broadcast ) : yield self . _address_class ( x )