On Fri, Dec 03, 2021 at 04:15:37PM +1100, Chris Angelico wrote: > So I don't think anyone is truly concerned about the pure "don't pass > the argument" case. The problem is the "maybe pass the argument" case. > That ends up looking like this: > > c = 42 > if cond: func(a, b) > else: func(a, b, c) [...]
Yes, that's exactly it! I agree with the rest of your post here. -- Steve _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/ZGNMJC54AEDP6EFCHJ47RKJZLVSBGU43/ Code of Conduct: http://python.org/psf/codeofconduct/