From 70363bccfac1a6a0818ea577ad9cf8123a0ec3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jie=20Fu=20=28=E5=82=85=E6=9D=B0=29?= Date: Sat, 12 Apr 2025 22:39:42 +0800 Subject: [PATCH] Fix syntaxWarning: invalid escape sequence '\s' (#16532) Signed-off-by: Jie Fu --- vllm/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm/utils.py b/vllm/utils.py index 0fa3384a..c2aad049 100644 --- a/vllm/utils.py +++ b/vllm/utils.py @@ -1233,8 +1233,8 @@ class SortedHelpFormatter(ArgumentDefaultsHelpFormatter): 3. Each line is wrapped to the specified width (width of terminal). """ # The patterns also include whitespace after the newline - single_newline = re.compile("(?