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

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

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