On Apr 24, 12:43 pm, Bruno Desthuilliers <bruno. [EMAIL PROTECTED]> wrote: [...] > Not quite sure what's the best thing to do in the second case - raise a > ValueError if args is empty, or silently return 0.0 - but I'd tend to > choose the first solution (Python's Zen, verses 9-11).
What's wrong with raising ZeroDivisionError (not stopping the exception in the first place)? k -- http://mail.python.org/mailman/listinfo/python-list