def __lt__(self, other):
        if not isinstance(other, OrderedDict):
            raise TypeError('Can only compare with other OrderedDicts')
        # FIXME: efficiency?
        #   Generate both item lists for each compare
        return (self.items() < other.items())
Creates a TraitString handler.
dataset/ETHPy150Open editorconfig/editorconfig-vim/plugin/editorconfig-core-py/editorconfig/odict.py/OrderedDict.__lt__--crossover with--dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitString.__init__