Arc Forumnew | comments | leaders | submitlogin
1 point by mschw 4245 days ago | link | parent

Python's defaultdict takes a factory function at construction time.

http://docs.python.org/lib/defaultdict-objects.html