def __init__(self, minconn, maxconn, *args, **kwargs):
    'Initialize the threading lock.'
    import threading
    AbstractConnectionPool.__init__(self, minconn, maxconn, *args, **kwargs)
    self._lock = threading.Lock()
Initialize the threading lock.
def __init__(self, minconn, maxconn, *args, **kwargs):
    
    import threading
    AbstractConnectionPool.__init__(self, minconn, maxconn, *args, **kwargs)
    self._lock = threading.Lock()