Serhiy Storchaka <[email protected]> added the comment:
You can implement it yourself.
_all = all
def all(obj):
if isinstance(obj, range):
return 0 not in obj
return _all(obj)
I do not see reasons to do this in the stdlib.
----------
nosy: +serhiy.storchaka
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37131>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com