Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Default Constructor

  • The "class" keyword creates a "class object". The default constructor of these classes are their own names.
  • The actual code is implemented in the __new__ method of the object.
  • Calling the constructor will create an "instance object".