5 ms·
That is a bug in the docs, not in the use of kwargs. If the function expects certain keyword arguments it must document them. You can just as easily write spe
by pekk 13y ago
That is a bug in the docs, not in the use of kwargs. If the function expects certain keyword arguments it must document them. You can just as easily write specific keyword args, and then fail to document them in exactly the same way.
- rdtsc 13y agoAt least you can tell what the names of arguments are and if they have defaults or not.