summaryrefslogtreecommitdiff
path: root/pyparsing/helpers.py
diff options
context:
space:
mode:
authorptmcg <ptmcg@austin.rr.com>2020-12-24 01:21:57 -0600
committerptmcg <ptmcg@austin.rr.com>2020-12-24 01:21:57 -0600
commit2896fad83357bde252c0304aa4c0c55661486a5e (patch)
tree466fff0292422bb9c6717bf6bddb7963622ebdad /pyparsing/helpers.py
parentc3be8acb355559cc1fdcb673f8df904b6947b0af (diff)
downloadpyparsing-git-2896fad83357bde252c0304aa4c0c55661486a5e.tar.gz
Deprecate `locatedExpr` in favor of new `Located` class
Diffstat (limited to 'pyparsing/helpers.py')
-rw-r--r--pyparsing/helpers.py4
1 files changed, 3 insertions, 1 deletions
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: