Python Language OOP: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
     pass
     pass
</syntaxhighlight>
</syntaxhighlight>
=Initialization=
=Inheritance=
==Overriding==

Revision as of 05:24, 15 March 2022

External

Internal

Overview

Attributes and methods.

Class

class MyClass():
  def __init__(self):
    pass

Initialization

Inheritance

Overriding