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.

 

Comment:

Should add an overview page for the "set" type (similar to type-dict etc).

Posted by Fredrik (2006-10-27)

A Django site. rendered by a django application. hosted by webfaction.