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

[$] Python sets, frozensets, and literals

mercredi 19 janvier 2022, 00:33 , par 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
Date Actuelle
lun. 29 avril - 20:14 CEST