SIGN IN SIGN UP

* 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.
R
Raymond Hettinger committed
97979ddc141b88cfd81bdf02404d0337a603f7cf
Parent: b02c35e