summaryrefslogtreecommitdiff
path: root/examples/pythonGrammarParser.py
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@users.noreply.github.com>2018-12-24 20:10:15 -0600
committerGitHub <noreply@github.com>2018-12-24 20:10:15 -0600
commitccd7708b07f987d49ee76aa9b003f9e172808ff1 (patch)
tree20ed886e5eb20e37d7a776911fee8cb5c7723fa6 /examples/pythonGrammarParser.py
parent1928ae222149789046a07cceec21b256c9c84a8c (diff)
parentd5cce29645b3f25526313210485e5ce7096dec63 (diff)
downloadpyparsing-git-ccd7708b07f987d49ee76aa9b003f9e172808ff1.tar.gz
Merge branch 'master' into psyco
Diffstat (limited to 'examples/pythonGrammarParser.py')
-rw-r--r--examples/pythonGrammarParser.py2
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