def set_function_name(f, name, cls):
f.__name__ = name<EOL>f.__qualname__ = '<STR_LIT>'.format(<EOL>klass=cls.__name__,<EOL>name=name)<EOL>f.__module__ = cls.__module__<EOL>return f<EOL>
Bind the name/qualname attributes of the function