diff options
Diffstat (limited to 'examples/pythonGrammarParser.py')
-rw-r--r-- | examples/pythonGrammarParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pythonGrammarParser.py b/examples/pythonGrammarParser.py index aed6bbe..ed6a484 100644 --- a/examples/pythonGrammarParser.py +++ b/examples/pythonGrammarParser.py @@ -170,7 +170,7 @@ def makeGroupObject(cls): def groupAction(s,l,t):
try:
return cls(t[0].asList())
- except:
+ except Exception:
return cls(t)
return groupAction
|