[issue47257] add methods to get first and last elements of a range
paul rubin
report at bugs.python.org
Fri Apr 8 06:34:44 EDT 2022
paul rubin <phr-pythonbugs at nightsong.com> added the comment:
Oh nice, I didn't realize you could do that. len(range) and bool(range) (to test for empty) also work. Ok I guess this enhancement is not needed. I will close ticket, hope that is procedurally correct, otherwise feel free to fix. Thanks.
----------
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47257>
_______________________________________
More information about the Python-bugs-list
mailing list