summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2017-02-12 11:37:24 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-02-12 11:37:24 (GMT)
commitaf88e7eda4101f36e904771d3cf59a5f740b3b00 (patch)
treeed7618382d09a7b72cf9f2fa76e008addb0d74c4 /Lib
parent2294f3aee14a6074b17c67ef936c607430bb3c7a (diff)
downloadcpython-af88e7eda4101f36e904771d3cf59a5f740b3b00.zip
cpython-af88e7eda4101f36e904771d3cf59a5f740b3b00.tar.gz
cpython-af88e7eda4101f36e904771d3cf59a5f740b3b00.tar.bz2
bpo-27122: Fix comment to point to correct issue number (#47)
It took me quite a bit to figure out what this was referring to, since the given issue number is wrong, and the original commit message I found through git blame lists a different, also wrong issue number... see https://bugs.python.org/issue27122#msg279449
Diffstat (limited to 'Lib')
-rw-r--r--Lib/contextlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index 7d94a57..84219685 100644
--- a/Lib/contextlib.py
+++ b/Lib/contextlib.py
@@ -105,7 +105,7 @@ class _GeneratorContextManager(ContextDecorator, AbstractContextManager):
# raised inside the "with" statement from being suppressed.
return exc is not value
except RuntimeError as exc:
- # Don't re-raise the passed in exception. (issue27112)
+ # Don't re-raise the passed in exception. (issue27122)
if exc is value:
return False
# Likewise, avoid suppressing if a StopIteration exception