Python Hackery: merging signatures of two Python functions
Today’s blog post is going to contain fairly advanced Python hackery. We’ll
take two functions — one is a wrapper for the other, but also adds some
positional arguments. And we’ll change the signature displayed everywhere from
the uninformative f(new_arg, *args, **kwargs)
to something more
appropriate.