Navigation
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
|
56 sources (32 en français)
Date Actuelle
lun. 29 avril - 20:14 CEST
|