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

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

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