When It isn't noticeable how to enhance a immediate member obtain like foo.num = num, You can easily augment your standard setter with an extra power parameter: precisely what is the right OOP strategy updating instance variables in python See a lot more linked questions Related In accordance with this https://aipljoysdistrict.in/