From f735fe31163ebe72c7d95468a5ca6496fed5944f Mon Sep 17 00:00:00 2001 From: "zenglifa@msu.edu" Date: Sat, 25 Apr 2020 15:37:50 -0400 Subject: [PATCH] Replace http link with https --- wtfpython-pypi/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wtfpython-pypi/content.md b/wtfpython-pypi/content.md index 9827fc4..0d24669 100644 --- a/wtfpython-pypi/content.md +++ b/wtfpython-pypi/content.md @@ -1732,7 +1732,7 @@ UnboundLocalError: local variable 'a' referenced before assignment #### 💡 Explanation: * When you make an assignment to a variable in scope, it becomes local to that scope. So `a` becomes local to the scope of `another_func`, but it has not been initialized previously in the same scope which throws an error. -* Read [this](http://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html) short but an awesome guide to learn more about how namespaces and scope resolution works in Python. +* Read [this](https://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html) short but an awesome guide to learn more about how namespaces and scope resolution works in Python. * To modify the outer scope variable `a` in `another_func`, use `global` keyword. ```py def another_func()