File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -236,16 +236,16 @@ def _parse_param_list(self, content):
236236 _funcnamenext = _funcname .replace ('role' , 'rolenext' ).replace ('name' , 'namenext' )
237237 _description = r"(?P<description>\s*:(\s+(?P<desc>\S+.*))?)?\s*$"
238238 _func_rgx = re .compile (r"^\s*" + _funcname + r"\s*" , re .X )
239- # _funcs_rgx = re.compile(r"^\s*" + _funcname + r"(?P<morefuncs>([,\s]\s*" + _funcnamenext + r")*)" + r"\s*", re.X)
240- _line_rgx = re . compile ( r"^\s*"
241- + r"(?P<allfuncs>" # group for all function names
242- + _funcname
243- + r"(?P<morefuncs>([,]\s+"
244- + _funcnamenext + r")*)"
245- + r")" # end of "allfuncs"
246- + r"(\s*,)?" # Some function lists have a trailing comma
247- + _description ,
248- re .X )
239+ _line_rgx = re .compile (
240+ r"^\s*"
241+ + r"(?P<allfuncs>" # group for all function names
242+ + _funcname
243+ + r"(?P<morefuncs>([,]\s+"
244+ + _funcnamenext + r")*)"
245+ + r")" # end of "allfuncs"
246+ + r"(\s*,)?" # Some function lists have a trailing comma
247+ + _description ,
248+ re .X )
249249
250250 _name_rgx = re .compile (r"^\s*(:(?P<role>\w+):"
251251 r"`(?P<name>(?:~\w+\.)?[a-zA-Z0-9_.-]+)`|"
You can’t perform that action at this time.
0 commit comments