summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-19 16:25:46 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-19 16:25:46 (GMT)
commitd8ab35c933ec8f19dc119a67af896973a3849663 (patch)
tree8ca7cdaf95c21cddab49fc1672094e1146f5f6f6 /Misc
parentd6cf3af8f79f19bf93c1db4d55772f68d59ab454 (diff)
downloadcpython-d8ab35c933ec8f19dc119a67af896973a3849663.zip
cpython-d8ab35c933ec8f19dc119a67af896973a3849663.tar.gz
cpython-d8ab35c933ec8f19dc119a67af896973a3849663.tar.bz2
News about sets. (There's no documentation; if someone wants to
convert the doc strings to LaTeX, be my guest.)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5595d01..d60205e 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