def close(self):
        """Close the pooled shared connection."""
        # Instead of actually closing the connection,
        # unshare it and/or return it to the pool.
        if self._con:
            self._pool.unshare(self._shared_con)
            self._shared_con = self._con = None
def close ( self ) : if self . _con : self . _pool . unshare ( self . _shared_con ) self . _shared_con = self . _con = None
Close the pooled shared connection.