
Dec. 3, 2021
8:01 a.m.
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