Kaydet (Commit) 89b1824e authored tarafından Berker Peksag's avatar Berker Peksag Kaydeden (comit) GitHub

bpo-27122: Fix comment to point to correct issue number (#48)

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

(cherry picked from commit af88e7ed)
üst c2328ec0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment