@classmethod
def fromkeys(cls, iterable, value=None):
    """ T.fromkeys(S[,v]) -> New tree with keys from S and values equal to v.

        v defaults to None.
        """
    tree = cls()
    for key in iterable:
        tree.insert(key, value)
    return tree
