(self)
return self.host
Network location including host and port
Network location including host and port
Network location including host and port
def netloc(self):
        """Network location including host and port"""
        if self.port:
            return '%s:%d' % (self.host, self.port)
        return self.host
def netloc ( self ) : if self . port : return '%s:%d' % ( self . host , self . port ) return self . host