* Stage 1 * Finish restructuring, add checkboxes. * Minor format fixes * fixing broken link * fixing broken link * fixing README link * Fix multiples bad links * Fix links in reference/concepts/keywords/README.md * Correcting list description
791 B
791 B
Class inheritance
TODO: ADD MORE
- The default
__str___method is inherited fromObject, which every class in Python inherits from. (See: inheritance) phone-number - a "subclass" will inherit all methods, attributes from it's parent class, and can then override methods as needed. Overriding means the logic in the parent class is not used. The
superbuiltin function (not shown here) exists to allow the programmer to defer logic up the inheritance chain to the parent class when needed. phone-number - the knowledge of inheritance can be useful in this exercises because all
Exceptionstypes inherit from the base class variable-length-quantity