summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Angelico <rosuav@gmail.com>2019-05-21 13:34:19 (GMT)
committerEric V. Smith <ericvsmith@users.noreply.github.com>2019-05-21 13:34:19 (GMT)
commitad098b6750f4d74387ac21c8e23ae1ee7ff13571 (patch)
treea642d08ae65f8cce38340aa4ca0197730ae41145
parent4fb15021890d327023aefd95f5a84ac33b037d19 (diff)
downloadcpython-ad098b6750f4d74387ac21c8e23ae1ee7ff13571.zip
cpython-ad098b6750f4d74387ac21c8e23ae1ee7ff13571.tar.gz
cpython-ad098b6750f4d74387ac21c8e23ae1ee7ff13571.tar.bz2
Annotate the unexplained assignment in exception unbinding (GH-11448)
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index b20548c..63b2456 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -2931,7 +2931,7 @@ compiler_try_except(struct compiler *c, stmt_ty s)
try:
# body
finally:
- name = None
+ name = None # in case body contains "del name"
del name
*/