This is my python code:
class SomeClass:
    def __init__(self, apple):
        self.apple = apple
    def set_apple_to(self, new_apple):
        self.apple = new_apple
I made function 'set_apple_to' becaues I think changing member variable directly could make hard to manage code and is dangerous. Now I am wondering what the name is that prevent changing member variable directly from external user.
