3 ms·
I think borrowing object creation via spreading from JS would be a great option for this. The prefix would be the double , which would also differentiate it fro
by JoBrad 3y ago
I think borrowing object creation via spreading from JS would be a great option for this. The prefix would be the double , which would also differentiate it from a set. Something like
def foo(long_argument1: str, long_argument2: str):
pass
long_argument1 = “some value”
long_argument2 = “another value”
foo(**{long_argument1, long_argument2})*