Skip to content

Commit af88e7e

Browse files
njsmithberkerpeksag
authored andcommitted
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
1 parent 2294f3a commit af88e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/contextlib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def __exit__(self, type, value, traceback):
105105
# raised inside the "with" statement from being suppressed.
106106
return exc is not value
107107
except RuntimeError as exc:
108-
# Don't re-raise the passed in exception. (issue27112)
108+
# Don't re-raise the passed in exception. (issue27122)
109109
if exc is value:
110110
return False
111111
# Likewise, avoid suppressing if a StopIteration exception

0 commit comments

Comments
 (0)