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

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

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy