human
I wrote the below code

    def internal(self, arg):
        func = (prefix + arg)
        if hasattr(self, func):
            return getattr(self, func)()
        else:
            return notfound()
    return internal

What's a good function header?
 ... What is a Python program to fix + arg)?
assistant
#Here is Python program to fix + arg)
.

def autodelegate(prefix=''):