diff options
| author | Raymond Hettinger <python@rcn.com> | 2005-08-12 20:48:39 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2005-08-12 20:48:39 (GMT) |
| commit | b02c35e2081847cff27b55861184444fd22bc4f0 (patch) | |
| tree | 10d376f259df7ce7a0d3713de6bbad3ae615930a /Lib/test/test_set.py | |
| parent | cf52c0784364c09818ffd3fcaabffec667dba01d (diff) | |
| download | cpython-b02c35e2081847cff27b55861184444fd22bc4f0.zip cpython-b02c35e2081847cff27b55861184444fd22bc4f0.tar.gz cpython-b02c35e2081847cff27b55861184444fd22bc4f0.tar.bz2 | |
* 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.
Diffstat (limited to 'Lib/test/test_set.py')
0 files changed, 0 insertions, 0 deletions
