diff options
author | Guido van Rossum <guido@python.org> | 2002-08-19 16:25:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-19 16:25:46 (GMT) |
commit | d8ab35c933ec8f19dc119a67af896973a3849663 (patch) | |
tree | 8ca7cdaf95c21cddab49fc1672094e1146f5f6f6 /Misc | |
parent | d6cf3af8f79f19bf93c1db4d55772f68d59ab454 (diff) | |
download | cpython-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/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |