New submission from sedrubal: any, all and sum (and maybe some other functions) should accept variadic args. It should be possible to do things like this:
>>> any(True, False, True) True >>> all(True, False, True) False >>> sum(1, 2, 3) 6 This was compliant to max and min behaviour: >>> max(1, 2, 3) 3 >>> min(1, 2, 3) 1 ---------- messages: 286859 nosy: sedrubal priority: normal severity: normal status: open title: any, all and sum should accept variadic args type: behavior versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29433> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com