def _get_child_branch(trie, c):
 for branch in _get_child_branches(trie):
  if (branch[0] == c):
   return branch
 return None

def _get_child_branch ( trie , c ) : for branch in _get_child_branches ( trie ) : if ( branch [ 0 ] == c ) : return branch return None
get branch matching the character .