O'Reilly logo
  • Chris Kang thinks this is interesting:

Attribute r.area is read-only (attempts to rebind or unbind it fail) because we specify only a get method in the call to property, no set or del methods.


Cover of Python in a Nutshell, 3rd Edition


get_<property name>() is the getter function that is used to retrieve value when the attribute <property name> is referenced on an object. So, when you referecence <object>.<property name> the get_<property name() will be called.