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

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

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