diff options
| author | Raymond Hettinger <python@rcn.com> | 2015-01-19 00:06:18 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2015-01-19 00:06:18 (GMT) |
| commit | 9cd6a789c6bd96e89b21b796292138d77d94c5aa (patch) | |
| tree | ef69ea8492916be706e0e976ec49f48ee7f18712 /Python/formatter_unicode.c | |
| parent | b53f0fbf96ec0b1f9ad7ddad5e9480d17e48e27a (diff) | |
| download | cpython-9cd6a789c6bd96e89b21b796292138d77d94c5aa.zip cpython-9cd6a789c6bd96e89b21b796292138d77d94c5aa.tar.gz cpython-9cd6a789c6bd96e89b21b796292138d77d94c5aa.tar.bz2 | |
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.
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions
