def __repr__(self):
        if not self:
            return '%s()' % (self.__class__.__name__,)
        return '%s(%r)' % (self.__class__.__name__, list(self))
dataset/ETHPy150Open Arelle/Arelle/arelle/PythonUtil.py/OrderedSet.__repr__/original