Is it possible (and if so, how) to change the parameters of a function after definition?
Example:
from inspect import signature
def f(a, b, c):
print(a + b + c)
for i in signature(f).parameters:
print(i)
changeparameters(f, "d", "e")
print()
for i in signature(f).parameters:
print(i)
Would output:
a
b
c
d
e