No need for a list literal here; `.extend((sql, []) for sql in autoinc_sql)` should do.