From 89158d47b5f02b4f2029cbf70b7fb47aa6ae01b5 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Fri, 17 Nov 2017 01:47:41 +0530 Subject: Some minor changes. --- advanced_python/oop_inheritance.tex | 2 ++ 1 file changed, 2 insertions(+) (limited to 'advanced_python') diff --git a/advanced_python/oop_inheritance.tex b/advanced_python/oop_inheritance.tex index 0077556..d9f7558 100644 --- a/advanced_python/oop_inheritance.tex +++ b/advanced_python/oop_inheritance.tex @@ -160,10 +160,12 @@ tut.needs_computer \frametitle{Some points} \begin{itemize} \item \lstinline{Tutorial} is a subclass (or child) of \lstinline{Talk} + \item \lstinline{Tutorial} is derived from (inherits from) \lstinline{Talk} \item \lstinline{Talk} is the base class (or parent class) \item Only the \lstinline{__init__} has been changed \item This is called overriding \item \lstinline{super} ensures that the parent class is called + \item Calling the parent is not automatic \end{itemize} \end{frame} -- cgit