[issue29433] any, all and sum should accept variadic args

Serhiy Storchaka report at bugs.python.org
Fri Feb 3 07:04:51 EST 2017


Serhiy Storchaka added the comment:

There is no such need. You can use operators.

any(arg1, arg2, arg3) -> arg1 or arg2 or arg3
all(arg1, arg2, arg3) -> arg1 and arg2 and arg3
sum(arg1, arg2, arg3) -> arg1 + arg2 + arg3

----------
nosy: +serhiy.storchaka
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29433>
_______________________________________


More information about the Python-bugs-list mailing list