We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

set

set([iterable])

Creates a new set.

Returns a set whose elements are taken from iterable. The elements must be immutable. To represent sets of sets, the inner sets should be frozenset objects. If iterable is not specified, returns a new empty set, set([]). New in version 2.4.