User Tools

Site Tools


python:about_python:python_inheritance_fundamentals

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
python:about_python:python_inheritance_fundamentals [2018/02/24 23:25] – [Derived class constructors] mithatpython:about_python:python_inheritance_fundamentals [2018/02/24 23:28] – [Derived class constructors] mithat
Line 109: Line 109:
  
  
-===== Derived class constructors ===== 
- 
-There's nothing preventing you from creating additional constructors for your derived class if needed. In the following example, we are going to add an additional feature to the ''ClickUpDown'' class: we are going to create a constructor sets the upper limit of the counter. When the count exceeds that limit, the counter will reset. 
- 
-FIXME 
  
 ===== What you should do next ===== ===== What you should do next =====
python/about_python/python_inheritance_fundamentals.txt · Last modified: 2018/02/24 23:38 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki