summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-10 21:38:41 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-06-10 21:38:41 (GMT)
commit27e403ebe914294d307348d2b83c39f96059e133 (patch)
tree418e9e758aa28a8458564a140063f70d6c2acec1 /Lib/pydoc.py
parent57c2d930f688ca50248241919bd815c85bf39939 (diff)
downloadcpython-27e403ebe914294d307348d2b83c39f96059e133.zip
cpython-27e403ebe914294d307348d2b83c39f96059e133.tar.gz
cpython-27e403ebe914294d307348d2b83c39f96059e133.tar.bz2
Fixups to the hash function for frozensets.
* Non-zero initial value so that hash(frozenset()) != hash(0). * Final permutation to differentiate nested sets. * Add logic to make sure that -1 is not a possible hash value.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions