PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Override methods of a superclass

Last modified: 04 September 2023

You can override any method of a parent class by generating necessary code from a predefined template. PyCharm creates a stub that contains a call to the method of the superclass, leaving the developer with the task of providing some meaningful source code in the method's body.