Python 2.6-3.x compatible way to write it is ``next(trie.iterkeys())``