From a7bb81553c956813def4ea78af1ec071e863a625 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 30 Sep 2023 15:11:09 +0200 Subject: [PATCH] Regex fix. --- platypush/utils/reflection/_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/utils/reflection/_parser.py b/platypush/utils/reflection/_parser.py index 7a1ee01eb..fcf597220 100644 --- a/platypush/utils/reflection/_parser.py +++ b/platypush/utils/reflection/_parser.py @@ -99,7 +99,7 @@ class DocstringParser: _param_doc_re = re.compile(r"^:param\s+(?P[\w_]+):\s+(?P.*)$") _type_doc_re = re.compile(r"^:type\s+[\w_]+:.*$") _return_doc_re = re.compile(r"^:return:\s+(?P.*)$") - _default_docstring = re.compile(r"^\s*Initialize self\. See help.*$") + _default_docstring = re.compile(r"^\s*Initialize self\.\s*See help.*$") def __init__( self,