Article 5V5HD [$] Python sets, frozensets, and literals

[$] Python sets, frozensets, and literals

by
jake
from LWN.net on (#5V5HD)
A Python "frozenset" is simply a setobject that is immutable-the objects it contains are determined atinitialization time and cannot be changed thereafter. Like sets, frozensets arebuilt into the language, but unlike most of the other standard Pythontypes, there is no way to create a literal frozenset object. Changing that,by providing a mechanism to do so, was the topic of a recent discussion on the python-ideas mailing list.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments