diff options
author | ptmcg <ptmcg@austin.rr.com> | 2022-06-16 02:30:56 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2022-06-16 02:30:56 -0500 |
commit | 9c39a15cb42486bbbee828268d80cef3fe362df3 (patch) | |
tree | d99ca49bf68bcf2f5ca70fb8c75067281cd3949c /pyparsing/exceptions.py | |
parent | 24f3904616c8aad14750383632e3bfc8234edac5 (diff) | |
download | pyparsing-git-9c39a15cb42486bbbee828268d80cef3fe362df3.tar.gz |
More docstring fixup, in exceptions.py - issue #411
Diffstat (limited to 'pyparsing/exceptions.py')
-rw-r--r-- | pyparsing/exceptions.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyparsing/exceptions.py b/pyparsing/exceptions.py index 31a5711..4cc45c4 100644 --- a/pyparsing/exceptions.py +++ b/pyparsing/exceptions.py @@ -4,7 +4,7 @@ import re import sys import typing -from .util import col, line, lineno, _collapse_string_to_ranges +from .util import col, line, lineno, _collapse_string_to_ranges, replaces_prePEP8_function from .unicode import pyparsing_unicode as ppu @@ -157,6 +157,7 @@ class ParseBaseException(Exception): def __repr__(self): return str(self) + @replaces_prePEP8_function("markInputline") def mark_input_line(self, marker_string: str = None, *, markerString=">!<") -> str: """ Extracts the exception line from the input string, and marks @@ -210,8 +211,6 @@ class ParseBaseException(Exception): """ return self.explain_exception(self, depth) - markInputline = mark_input_line - class ParseException(ParseBaseException): """ |