parameters: (self)
return_statement: return conn
docstring: Return a fresh :class:`HTTPConnection`.
docstring_summary: Return a fresh :class:`HTTPConnection`.
docstring_tokens: Return a fresh : class : HTTPConnection .
function: def _new_conn(self):
          """
          Return a fresh :class:`HTTPConnection`.
          """
          self.num_connections += 1
          log.debug(
              "Starting new HTTP connection (%d): %s:%s",
              self.num_connections,
              self.host,
              self.port or "80",
          )
  
          conn = self.ConnectionCls(
              host=self.host,
              port=self.port,
              timeout=self.timeout.connect_timeout,
              strict=self.strict,
              **self.conn_kw
          )
          return conn
function_tokens: def _new_conn ( self ) : self . num_connections += 1 log . debug ( "Starting new HTTP connection (%d): %s:%s" , self . num_connections , self . host , self . port or "80" , ) conn = self . ConnectionCls ( host = self . host , port = self . port , timeout = self . timeout . connect_timeout , strict = self . strict , * * self . conn_kw ) return conn