I\'m trying to replace a function defined within a class in order to modify its function (as in inner workings) without changing the actual code.
I\'ve never done this befor
check class inheritance in python, to create your own custom class:
from somemodule import TestMOD
class YourCustomClass(TestMOD):
# change the function
def test_func(self, variable):
#
#
your_class = YourCustomClass()
your_class.test_func(x)