diff --git a/advanced_topics/modules_and_packages.ipynb b/advanced_topics/modules_and_packages.ipynb index cb1f719189b60dd94728baebb94c4bf7d1dde077..94994e265b660d37af3ddc9074bf3ebf5aab40ab 100644 --- a/advanced_topics/modules_and_packages.ipynb +++ b/advanced_topics/modules_and_packages.ipynb @@ -85,8 +85,8 @@ "\n", "\n", "Before we can use our module, we must `import` it. Importing a module in\n", - "Python will make its contents available to the local scope. We can import the\n", - "contents of `mymodule` like so:" + "Python will make its contents available in the local scope. We can import the\n", + "contents of `numfuncs` like so:" ] }, { @@ -342,7 +342,7 @@ "1. Built-in modules (e.g. `os`, `sys`, etc.).\n", "2. In the current directory or, if a script has been executed, in the directory\n", " containing that script.\n", - "3. In directories listed in the PYTHONPATH environment variable.\n", + "3. In directories listed in the `$PYTHONPATH` environment variable.\n", "4. In installed third-party libraries (e.g. `numpy`).\n", "\n", "\n", diff --git a/advanced_topics/object_oriented_programming.ipynb b/advanced_topics/object_oriented_programming.ipynb index 6ce41605fc589428e8462bc0d9ba33ea93930497..40e01b70427412bacbd77909c88b4a88959d999f 100644 --- a/advanced_topics/object_oriented_programming.ipynb +++ b/advanced_topics/object_oriented_programming.ipynb @@ -1282,7 +1282,7 @@ "metadata": {}, "source": [ "> Simple classes such as the `Notifier` are sometimes referred to as\n", - " [_mixins_](https://en.wikipedia.org/wiki/Mixin).\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", diff --git a/advanced_topics/object_oriented_programming.md b/advanced_topics/object_oriented_programming.md index e5504cf616955e1f41545526f339e15f22abb1ac..5ffbfc7c63b3be4b0704a717852a49bdffc1efd7 100644 --- a/advanced_topics/object_oriented_programming.md +++ b/advanced_topics/object_oriented_programming.md @@ -1026,7 +1026,7 @@ 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). +> [_mixins_](https://en.wikipedia.org/wiki/Mixin). If you wish to use multiple inheritance in your design, it is important to be