Clean-up, simplify, and slightly speed-up bounds logic in set_pop().
Elsewhere in the setobject.c code we do a bitwise-and with the mask instead of using a conditional to reset to zero on wrap-around. Using that same technique here use gives cleaner, faster, and more consistent code.
R
Raymond Hettinger committed
9cd6a789c6bd96e89b21b796292138d77d94c5aa
Parent: b53f0fb