Wow, never done double nesting of this form inside Python list comprehensions. The ordering seems so backwards.