parameters: (self, scheme, host, port)
return_statement: return pool_cls(host, port, **kwargs)
docstring: Create a new :class:`ConnectionPool` based on host, port and scheme.
  
          This method is used to actually create the connection pools handed out
          by :meth:`connection_from_url` and companion methods. It is intended
          to be overridden for customization.
docstring_summary: Create a new :class:`ConnectionPool` based on host, port and scheme.
docstring_tokens: Create a new : class : ConnectionPool based on host port and scheme .
function: def _new_pool(self, scheme, host, port):
          """
          Create a new :class:`ConnectionPool` based on host, port and scheme.
  
          This method is used to actually create the connection pools handed out
          by :meth:`connection_from_url` and companion methods. It is intended
          to be overridden for customization.
          """
          pool_cls = pool_classes_by_scheme[scheme]
          kwargs = self.connection_pool_kw
          if scheme == 'http':
              kwargs = self.connection_pool_kw.copy()
              for kw in SSL_KEYWORDS:
                  kwargs.pop(kw, None)
  
          return pool_cls(host, port, **kwargs)
function_tokens: def _new_pool ( self , scheme , host , port ) : pool_cls = pool_classes_by_scheme [ scheme ] kwargs = self . connection_pool_kw if scheme == 'http' : kwargs = self . connection_pool_kw . copy ( ) for kw in SSL_KEYWORDS : kwargs . pop ( kw , None ) return pool_cls ( host , port , * * kwargs )