From d7db02bbc90f3b7c9da28496959cc3575a5cac8a Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Mon, 12 Feb 2018 21:55:34 +0000
Subject: [PATCH] little note on mixins

---
 advanced_topics/object_oriented_programming.ipynb | 4 ++++
 advanced_topics/object_oriented_programming.md    | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/advanced_topics/object_oriented_programming.ipynb b/advanced_topics/object_oriented_programming.ipynb
index 3edc786..6ce4160 100644
--- a/advanced_topics/object_oriented_programming.ipynb
+++ b/advanced_topics/object_oriented_programming.ipynb
@@ -1281,6 +1281,10 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
+    "> Simple classes such as the `Notifier` are sometimes referred to as\n",
+    "  [_mixins_](https://en.wikipedia.org/wiki/Mixin).\n",
+    "\n",
+    "\n",
     "If you wish to use multiple inheritance in your design, it is important to be\n",
     "aware of the mechanism that Python uses to determine how base class methods\n",
     "are called (and which base class method will be called, in the case of naming\n",
diff --git a/advanced_topics/object_oriented_programming.md b/advanced_topics/object_oriented_programming.md
index 68be060..e5504cf 100644
--- a/advanced_topics/object_oriented_programming.md
+++ b/advanced_topics/object_oriented_programming.md
@@ -1024,6 +1024,11 @@ so.do('concat', '?')
 print(so.run('did you notice that functions are objects too'))
 ```
 
+
+> Simple classes such as the `Notifier` are sometimes referred to as
+  [_mixins_](https://en.wikipedia.org/wiki/Mixin).
+
+
 If you wish to use multiple inheritance in your design, it is important to be
 aware of the mechanism that Python uses to determine how base class methods
 are called (and which base class method will be called, in the case of naming
-- 
GitLab