parameters: (self)
return_statement: return self.host
docstring: Network location including host and port
docstring_summary: Network location including host and port
docstring_tokens: Network location including host and port
function: def netloc(self):
          """Network location including host and port"""
          if self.port:
              return '%s:%d' % (self.host, self.port)
          return self.host
function_tokens: def netloc ( self ) : if self . port : return '%s:%d' % ( self . host , self . port ) return self . host