Skip to content

Commit df948fd

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 (cherry picked from commit af88e7e)
1 parent 9cd7e17 commit df948fd

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
@@ -82,7 +82,7 @@ def __exit__(self, type, value, traceback):
8282
# raised inside the "with" statement from being suppressed.
8383
return exc is not value
8484
except RuntimeError as exc:
85-
# Don't re-raise the passed in exception. (issue27112)
85+
# Don't re-raise the passed in exception. (issue27122)
8686
if exc is value:
8787
return False
8888
# Likewise, avoid suppressing if a StopIteration exception

0 commit comments

Comments
 (0)