Same thing here - an intermediate local variable for the generator expression would make this easier to read without significantly impacting performance.