# Inheritance: One Class Built on Another

A subclass such as class Cactus(Plant) gets every attribute and method of the class it's built on, sets itself up with super().\_\_init\_\_(), replaces only the methods that work differently, and isinstance() tells which kind an object is.

![Cheat sheet: Inheritance: One Class Built on Another](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/305df5ee31c14ef79a020ce6d3fe4891.webp)

- Category: Python
- Level: Journeyman
- Tags: Child Class, Inheritance (python), Method Overriding (python), OOP, Parent Class, Polymorphism (python), python, super()
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/python-classes-inheritance-cheat-sheet
