Skip to content

Comment on Moving to Python 3parent

Comments

> Well, you can build an equivalent loop without too much difficulty, and you're used to doing that.

You can build an equivalent list or generator comprehension (just generate tuples and feed that to `dict`). It's just ugly.

I believe that was the OP's point.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.