summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES11
1 files changed, 9 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 21a2722..feac25b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -14,8 +14,15 @@ API change summary:
if given results names.
. ParseException.explain is now an instance method of
- ParseException. To run explain against other exceptions,
- use ParseException.explain_exception.
+ ParseException.
+
+ try:
+ expr.parseString("...")
+ except ParseException as pe:
+ print(pe.explain())
+
+ To run explain against other exceptions, use
+ ParseException.explain_exception.
. ZeroOrMore expressions that have results names will now
include empty lists for their name if no matches are found.