human
Complete the below
def alias(attrname):

    ''''Returns a function which calls \'attrname\' - for function aliasing.
    We can\'t just use foo = bar, as this breaks subclassing.'
    '''
 ... Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    def func(self, *args, **kwds):
        return getattr(self, attrname)(*args, **kwds)
    return func