Skip to content

Glossary: Python Beyond the Basics

inheritance

Also written: inherit, inherits

Building a child class on top of a parent class so it gets all the parent's methods and can add or change some. PromoCard inherits from GiftCard.

Where the book teaches it

Related terms

super()child class / parent classisinstance