Delete the iterator, which could accidentally keep a temporary reference to the yield...
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 20 Feb 2012 23:00:06 +0000 (00:00 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 20 Feb 2012 23:00:06 +0000 (00:00 +0100)
commit95a97b7c0cd52fafb9defaa1737d432a0eb1c95f
tree11a861bf271e8bad0a1076fc0119ee2f740177dd
parent9edceb3e591063f382ae82e14313813ffc1af0bf
Delete the iterator, which could accidentally keep a temporary reference to the yielded element.
Lib/test/test_weakset.py