]> granicus.if.org Git - python/commit
Make PySet_Add() work with frozensets.
authorRaymond Hettinger <python@rcn.com>
Mon, 28 Jan 2008 20:34:33 +0000 (20:34 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 28 Jan 2008 20:34:33 +0000 (20:34 +0000)
commitecdcb5895029c83c8bb5f98de502beaa56b78c9e
tree92e2ac58fc2e7f4d2d1e0514ba3a26c4adbad6af
parent99120c4f7ea621ba2386c11d1300da335853dd68
Make PySet_Add() work with frozensets.
Works like PyTuple_SetItem() to build-up values in a brand new frozenset.
Also, PyFrozenSet_New() is now guaranteed to produce a distinct new frozenset.
Doc/c-api/set.rst
Objects/setobject.c