diff options
author | Raymond Hettinger <python@rcn.com> | 2005-08-12 23:58:22 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-08-12 23:58:22 +0000 |
commit | 97979ddc141b88cfd81bdf02404d0337a603f7cf (patch) | |
tree | f11d43a741e1e74ebd632d542620f00e9f0120b6 /Python/ceval.c | |
parent | b02c35e2081847cff27b55861184444fd22bc4f0 (diff) | |
download | cpython-git-97979ddc141b88cfd81bdf02404d0337a603f7cf.tar.gz |
* 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 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions