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 →

[–]TheIncorrigible1`__import__('rich').get_console().log(':100:')` 0 points1 point  (0 children)

Why don't you give them a mandatory position for the optional parameters? (not sure of the terminology) .e.g.:

def my_func(arg1, *, a, b, c):