def __init__(self, minconn, maxconn, *args, **kwargs):
    "Initialize the connection pool.\n\n        New 'minconn' connections are created immediately calling 'connfunc'\n        with given parameters. The connection pool will support a maximum of\n        about 'maxconn' connections.        \n        "
    self.minconn = int(minconn)
    self.maxconn = int(maxconn)
    self.closed = False
    self._args = args
    self._kwargs = kwargs
    self._pool = []
    self._used = {}
    self._rused = {}
    self._keys = 0
    for i in range(self.minconn):
        self._connect()
Initialize the connection pool.

New 'minconn' connections are created immediately calling 'connfunc'
with given parameters. The connection pool will support a maximum of
about 'maxconn' connections.
def __init__(self, minconn, maxconn, *args, **kwargs):
    "Initialize the connection pool.\n\n        New 'minconn' connections are created immediately calling 'connfunc'\n        with given parameters. The connection pool will support a maximum of\n        about 'maxconn' connections.        \n        "
    self.minconn = int(minconn)
    self.maxconn = int(maxconn)
    self.closed = False
    self._args = args
    self._kwargs = kwargs
    self._pool = []
    self._used = {}
    self._rused = {}
    self._keys = 0
    for i in range(self.minconn):
        self._connect()