Skip to content

Commit 36fc04b

Browse files
committed
Fix docstring with invalid esc sequence
1 parent a46066d commit 36fc04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyparsing/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def __call__(self, char: str) -> int:
208208
def _collapse_string_to_ranges(
209209
s: Union[str, Iterable[str]], re_escape: bool = True
210210
) -> str:
211-
"""
211+
r"""
212212
Take a string or list of single-character strings, and return
213213
a string of the consecutive characters in that string collapsed
214214
into groups, as might be used in a regular expression '[a-z]'

0 commit comments

Comments
 (0)