On Sat, Oct 1, 2016 at 11:35 AM, Alan Gauld via Tutor <tutor@python.org> wrote:
> ... Personally I don't like functions that > sometimes return one and sometimes two results. I'd rather > you returned a None first argument in the first case > to make it consistent. Why don't you like doing this? What are the pluses and minuses as you see them? I actually almost wrote it to return None as you suggest, but as I had not yet had an opportunity to play with argument unpacking until now, I thought I would do so. After all, it is about the learning for me, not always doing things the same way I have been doing them. -- boB _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor