[Python-ideas] List Comprehensions
Alexander Walters
tritium-list at sdamon.com
Wed Feb 3 04:10:54 EST 2016
On 2/3/2016 04:05, Chris Angelico wrote:
> I have to say, though, I was a little confused at first, because I'm
> used to range objects not being lists. And trying it showed that the
> syntax has been tightened up somewhere:
I don't know when that was done either, but it is apparently the
creation of a tuple without the parens isn't permitted inside listcomps
anymore. It probably makes them easier to parse. *shrug*
More information about the Python-ideas
mailing list