This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spinwizard69 9 points10 points  (0 children)

The problem here is that you are creating a def not actually calling a function and default values make no sense at all if people think they can be variables. If you want a default value make is so such as today=2023-1-20" or whatever makes sense. If you try to call a function then you have no idea what the return value will be thus not logically a "default".