On 4/21/2010 12:28 PM, Bala subramanian wrote:
Friends,
Someone please write me the difference between creating set with set() and a sets.Set().

When sets were introduced to Python in version 2.3. they came as a separate "sets" module.

In version 2.6 built-in set/frozenset types replaced this module.

So either way is OK for now, but the sets module might go away in a newer version.

--
Bob Gailer
919-636-4239
Chapel Hill NC

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to