Steven D'Aprano <steve+python at pearwood.info> added the comment: > ``if number is None or number < 0`` Sorry, that should be number == 0 ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue36461> _______________________________________