mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Raise statement normalization in Lib/.
This commit is contained in:
parent
8b3febef2f
commit
ce36ad8a46
80 changed files with 502 additions and 530 deletions
|
@ -2350,7 +2350,7 @@ class Context(object):
|
|||
|
||||
# Errors should only be risked on copies of the context
|
||||
# self._ignored_flags = []
|
||||
raise error, explanation
|
||||
raise error(explanation)
|
||||
|
||||
def _ignore_all_flags(self):
|
||||
"""Ignore all flags, if they are raised"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue