Dict comprehensions - improvement to docs?

Paul Rubin no.email at nospam.invalid
Mon Mar 16 18:41:21 EDT 2015


Ian Kelly <ian.g.kelly at gmail.com> writes:
> Since the setup code is only run once, the generator expression used
> for y is only iterated over once. 

Ah, thanks, I'd been wondering what was going on with Frank's example
but hadn't gotten around to trying to analyze it.



More information about the Python-list mailing list