code: def get_connection(self, *args, **kwargs):
          "Get a connection from the pool"
          self._checkpid()
          try:
              connection = self._available_connections.pop()
          except IndexError:
              connection = self.make_connection()
          self._in_use_connections.add(connection)
          return connectiof get_connection(self, *args, **kwargs):
          "Get a connection from the pool"
          self._checkpid()
          try:
              connection = self._available_connections.pop()
          except IndexError:
              connection = self.make_connection()
          self._in_use_connections.add(connection)
          return connection
docs: Get a connection from the pool