◐ Shell
clean mode source ↗

bpo-32582: chr() doesn't raise OverflowError anymore by vstinner · Pull Request #5218 · python/cpython

Oops, right. I removed this useless assignment.

My intent was to get a different error message for underflow (< 0) or overflow (> 0). But in fact, the same error message for all cases is just fine.