`"\n\t\tthis.%s = %s;" % (i[1], i[1])` is more readable I think.