[IronPython] Adding None to a set

William Reade william at resolversystems.com
Thu Jun 29 16:14:39 CEST 2006


Hi guys

As if you didn't have enough on your plates already...

IronPython beta8:
 >>> st = set([])
 >>> st.add(None)
 >>> st
set([<type 'NoneType'>])

CPython:
 >>> st = set([])
 >>> st.add(None)
 >>> st
set([None])

Cheers
William



More information about the Ironpython-users mailing list