summaryrefslogtreecommitdiffstats
path: root/Doc/faq/programming.rst
diff options
context:
space:
mode:
authorStanley <46876382+slateny@users.noreply.github.com>2022-12-22 23:23:25 (GMT)
committerGitHub <noreply@github.com>2022-12-22 23:23:25 (GMT)
commitf3db68e6e66ebb36e1b9cb30daba913ecc736169 (patch)
treedebc66ef6ac33cedade8bbd6c157b4bd3c886e62 /Doc/faq/programming.rst
parentad23da0e77c4c4a3185df64d1c199b8c17e08188 (diff)
downloadcpython-f3db68e6e66ebb36e1b9cb30daba913ecc736169.zip
cpython-f3db68e6e66ebb36e1b9cb30daba913ecc736169.tar.gz
cpython-f3db68e6e66ebb36e1b9cb30daba913ecc736169.tar.bz2
gh-48496: Added example and link to faq for UnboundLocalError in reference (#93068)
Diffstat (limited to 'Doc/faq/programming.rst')
-rw-r--r--Doc/faq/programming.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index 584d33e..c396e2b 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -113,6 +113,8 @@ Yes. The coding style required for standard library modules is documented as
Core Language
=============
+.. _faq-unboundlocalerror:
+
Why am I getting an UnboundLocalError when the variable has a value?
--------------------------------------------------------------------