set objects have different __repr__ on python 2 and 3 Python 3: >>> {1, 2, 3} {1, 2, 3} Python 2 >>> {1, 2, 3} set([1, 2, 3]) (one among the several reasons I don't particularly like doctest...)
set objects have different __repr__ on python 2 and 3 Python 3: >>> {1, 2, 3} {1, 2, 3} Python 2 >>> {1, 2, 3} set([1, 2, 3]) (one among the several reasons I don't particularly like doctest...)