commit | b02c35e2081847cff27b55861184444fd22bc4f0 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Aug 12 20:48:39 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Aug 12 20:48:39 2005 +0000 |
tree | 10d376f259df7ce7a0d3713de6bbad3ae615930a | |
parent | cf52c0784364c09818ffd3fcaabffec667dba01d [diff] |
* Fix SF #1257731. Make __contains__(), remove(), and discard() only do a frozenset conversion when the initial search attempt fails with a TypeError and the key is some type of set. Add a testcase. * Eliminate a duplicate if-stmt.