3 ms·
some add what it takes in the DOC string, but even then most don't actually state all the options.
by vorticalbox 3y ago
some add what it takes in the DOC string, but even then most don't actually state all the options.
- diarrhea 3y agoYep, it’s incomplete, and much more importantly not machine readable. These days I want all my code to pass strict mypy. It’s mostly possible and a bliss when it works, but libraries (ab)using kwargs throw a spanner in that. Libraries where everything is kwarg and the docs have to be consulted are a killjoy. And they cause tons of bug from misuse!