Skip to content

Commit

Permalink
bpo-27122: Fix comment to point to correct issue number (#48)
Browse files Browse the repository at this point in the history
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 af88e7e)
  • Loading branch information
berkerpeksag authored Feb 12, 2017
1 parent c2328ec commit 89b1824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/contextlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __exit__(self, type, value, traceback):
# 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
Expand Down

0 comments on commit 89b1824

Please sign in to comment.