From 2896fad83357bde252c0304aa4c0c55661486a5e Mon Sep 17 00:00:00 2001 From: ptmcg Date: Thu, 24 Dec 2020 01:21:57 -0600 Subject: Deprecate `locatedExpr` in favor of new `Located` class --- pyparsing/helpers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pyparsing/helpers.py') diff --git a/pyparsing/helpers.py b/pyparsing/helpers.py index cf59107..a5bc2cc 100644 --- a/pyparsing/helpers.py +++ b/pyparsing/helpers.py @@ -337,7 +337,9 @@ def ungroup(expr): def locatedExpr(expr): - """Helper to decorate a returned token with its starting and ending + """ + (DEPRECATED - future code should use the Located class) + Helper to decorate a returned token with its starting and ending locations in the input string. This helper adds the following results names: -- cgit v1.2.1