0
Python getter method
if i want to get an argument from a class i can simply define a function named sane as the argument with the @property decorator above, then what is the reason for using the getter decorator (@name.getter)?? thanks in advance
1 Respuesta
+ 1
A getter method is used to control future implemntations of the recieving of a field without breaking backwards conpatibility.