[issue1766304] improve xrange.__contains__
Mark Dickinson
report at bugs.python.org
Mon Sep 21 11:39:13 CEST 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
Robert,
The patch looks good: thank you.
Please use C89-style comments (/* ... */).
I'd like to see a few more tests covering the various combinations of
start less-than/equal-to/greater-than stop, step positive/negative, tested
value within/without/at endpoints of the range interval, etc.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1766304>
_______________________________________
More information about the Python-bugs-list
mailing list