Skip to content

Commit 89b1824

Browse files
authored
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 af88e7e)
1 parent c2328ec commit 89b1824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/contextlib.py

Lines changed: 1 addition & 1 deletion
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)