MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
python
Search

[$] Python sets, frozensets, and literals

Wednesday January 19, 2022. 12:33 AM , from LWN.net
A Python 'frozenset' is simply a set
object that is immutable—the objects it contains are determined at
initialization time and cannot be changed thereafter. Like sets, frozensets are
built into the language, but unlike most of the other standard Python
types, 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.
https://lwn.net/Articles/881599/rss
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Tue 16 - 08:30 CEST