Skip to content

Instantly share code, notes, and snippets.

@jeremiahmarks
Created January 22, 2016 13:44
Show Gist options
  • Save jeremiahmarks/03edb0a5fc65a54147b6 to your computer and use it in GitHub Desktop.
Save jeremiahmarks/03edb0a5fc65a54147b6 to your computer and use it in GitHub Desktop.
recursive defaultdict
from collections import defaultdict
mydict=lambda:defaultdict(l)
recursiveDefDict = mydict()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment