◐ Shell
clean mode source ↗

[backport to 3.6] bpo-27122: Fix comment to point to correct issue number (#47) by berkerpeksag · Pull Request #48 · python/cpython

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