4 ms·
kwargs are useful when you don't know in advance what the argument names will be. for example, writing a proxy or decorator that is used on multiple signatures
by andrewcooke 13y ago
kwargs are useful when you don't know in advance what the argument names will be. for example, writing a proxy or decorator that is used on multiple signatures. or implementing some kind of trace facility where you want to log variable names and values.