bdimmick/python-trie — pull request #1 by deignacio (2012-03-03 05:01:01+00:00)
Title: behave more like a dict

The trie is an dict with an internal optimization for certain types of keys, so I think that t[key] should raise a KeyError instead of return None, and also have a get(key, default=None) method.

This adds those in