diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2018-12-24 20:10:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-24 20:10:15 -0600 |
commit | ccd7708b07f987d49ee76aa9b003f9e172808ff1 (patch) | |
tree | 20ed886e5eb20e37d7a776911fee8cb5c7723fa6 /examples/pythonGrammarParser.py | |
parent | 1928ae222149789046a07cceec21b256c9c84a8c (diff) | |
parent | d5cce29645b3f25526313210485e5ce7096dec63 (diff) | |
download | pyparsing-git-ccd7708b07f987d49ee76aa9b003f9e172808ff1.tar.gz |
Merge branch 'master' into psyco
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
|