def __getitem__(self, char):
        """
        Follow edge `char` from this node.
        """
        char = char.lower()
        next_node = cgaddag.gdg_follow_edge(self.gdg, self.node,
                                            char.encode("ascii"))

        if not next_node:
            raise KeyError(char)

        return Node(self.gdg, next_node)
def __getitem__ ( self , char ) : char = char . lower ( ) next_node = cgaddag . gdg_follow_edge ( self . gdg , self . node , char . encode ( "ascii" ) ) if not next_node : raise KeyError ( char ) return Node ( self . gdg , next_node )
Follow edge `char` from this node.