frozenset で python2 から python3 に何が変わったのですか?
この異なる動作に気付きました: Python2:
>>> a=frozenset()
>>> a
frozenset([])
Python3
>>> a= frozenset()
>>> a
frozenset()
また:
Python2
>>> a=frozenset((1,2,3))
>>> a
frozenset([1,2,3])
Python3
>>> a=frozenset((1,2,3))
>>> a
frozenset({1,2,3})
どうして?ありがとう