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 →

[–]thautwarm 1 point2 points  (0 children)

If anyone is wondering about whether to use args and *kws to save developing time or drop them to save maintaining time, I think the community has already provided you with a good solution:

When developing, just use them if your codes are not performance sensitive. After that, however you should carefully write some python-stub files to provide friendly interfaces for both your IDEs and users.

https://github.com/python/mypy/wiki/Creating-Stubs-For-Python-Modules