I want to fix some code that uses an object from an external module.
One method of this object is called universally, and I need to set a new default kwarg in all these calls.
Instead of adding as many duplicates of the code, I thought it would be better to change the method of the object. What is the cleanest way to do this?
source
share