summaryrefslogtreecommitdiff
path: root/advanced_python/oop_inheritance.tex
diff options
context:
space:
mode:
Diffstat (limited to 'advanced_python/oop_inheritance.tex')
-rw-r--r--advanced_python/oop_inheritance.tex2
1 files changed, 2 insertions, 0 deletions
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}