]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Now that __init__ transforms set elements, we know that all of the
authorRaymond Hettinger <python@rcn.com>
Wed, 21 Aug 2002 13:20:51 +0000 (13:20 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 21 Aug 2002 13:20:51 +0000 (13:20 +0000)
commitd9c9151a53b1f0e65370da7ed08d216a5cda8062
tree5932b4b3e850b8b375d9a0333293522bc4ac2d7f
parentc3e61e5c52213cb37ac48439e555728dd88dfcb2
Now that __init__ transforms set elements, we know that all of the
elements are hashable, so we can use dict.update() or dict.copy()
for a C speed Set.copy().
Lib/sets.py