From: Guido van Rossum Date: Mon, 19 Aug 2002 16:25:46 +0000 (+0000) Subject: News about sets. (There's no documentation; if someone wants to X-Git-Tag: v2.3c1~4407 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8ab35c933ec8f19dc119a67af896973a3849663;p=python News about sets. (There's no documentation; if someone wants to convert the doc strings to LaTeX, be my guest.) --- diff --git a/Misc/NEWS b/Misc/NEWS index 5595d0180e..d60205e262 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -298,6 +298,13 @@ Extension modules Library +- New module: sets, defines the class Set that implements a mutable + set type using the keys of a dict to represent the set. There's + also a class ImmutableSet which is useful when you need sets of sets + or when you need to use sets as dict keys, and a class BaseSet which + is the base class of the two. (This is not documented yet, but + help(sets) gives a wealth of information.) + - Added operator.pow(a,b) which is equivalent to a**b. - random.randrange(-sys.maxint-1, sys.maxint) no longer raises