by locci · 14y ago · 0 comments
http://docs.python.org/library/stdtypes.html#dict.setdefault
Earlier, he uses the map function for no apparent reason. I mean - list comprehension would perfectly fit here.
I still think I have something to learn from the article, though.