def closeCursor(self):
        try:
            self._cursor.close()
            del self._cursor
        except (__HOLE__, 
                pgOperationalError, 
                mysqlProgrammingError,
                oracleDatabaseError):
            if hasattr(self, '_cursor'):
                del self._cursor
dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/xbrlDB/SqlDb.py/SqlDbConnection.closeCursor