

def _get_server_version_info(self, connection):
    vers = connection.scalar('select @@version')
    m = re.match('Microsoft .*? - (\\d+).(\\d+).(\\d+).(\\d+)', vers)
    if connection:
        return tuple((int(x) for x in m.group(1, 2, 3, 4)))
    else:
        return None

dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/dialects/mssql/pymssql.py MSDialect_pymssql._get_server_version_info/VarMisuse@33/67 `m`->`connection`