]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Modify _Set to support iteration.
authorJeremy Hylton <jeremy@alum.mit.edu>
Sun, 12 Aug 2001 21:53:08 +0000 (21:53 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sun, 12 Aug 2001 21:53:08 +0000 (21:53 +0000)
commit39f77bc90e16a6f3fffc7f770bc7bc6bd2c7a0a8
treefd3f6e4d3a3c0cd1242d36adb2a2d839f28e935a
parent910d7d46dce571fa81428718e9be5307a56adeee
Modify _Set to support iteration.

Otherwise printlist(surprise) will fail with a TypeError, because map
is called with an argument that doesn't support iteration.
Lib/test/regrtest.py