Skip to content

Glossary: Python Beyond the Basics

child class / parent class

Also written: child, parent, subclass, superclass

In inheritance, the parent is the original class and the child is the new class built on it. PromoCard is a child of GiftCard and gets all its methods.

Where the book teaches it

Related terms

inheritancesuper()