Contribute Media
A thank you to everyone who makes this possible: Read More

Inheriting one class from another

Description

To inherit your class from another class, put parentheses after the class name and list parent classes. We allow multiple inheritance in Python, but we usually prefer single class inheritance.

Details

Improve this page