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 @@ -243,16 +243,16 @@ def _parse_param_list(self, content):
243243 _funcnamenext = _funcname .replace ('role' , 'rolenext' ).replace ('name' , 'namenext' )
244244 _description = r"(?P<description>\s*:(\s+(?P<desc>\S+.*))?)?\s*$"
245245 _func_rgx = re .compile (r"^\s*" + _funcname + r"\s*" , re .X )
246- # _funcs_rgx = re.compile(r"^\s*" + _funcname + r"(?P<morefuncs>([,\s]\s*" + _funcnamenext + r")*)" + r"\s*", re.X)
247- _line_rgx = re . compile ( r"^\s*"
248- + r"(?P<allfuncs>" # group for all function names
249- + _funcname
250- + r"(?P<morefuncs>([,]\s+"
251- + _funcnamenext + r")*)"
252- + r")" # end of "allfuncs"
253- + r"(\s*,)?" # Some function lists have a trailing comma
254- + _description ,
255- re .X )
246+ _line_rgx = re .compile (
247+ r"^\s*"
248+ + r"(?P<allfuncs>" # group for all function names
249+ + _funcname
250+ + r"(?P<morefuncs>([,]\s+"
251+ + _funcnamenext + r")*)"
252+ + r")" # end of "allfuncs"
253+ + r"(\s*,)?" # Some function lists have a trailing comma
254+ + _description ,
255+ re .X )
256256
257257 _name_rgx = re .compile (r"^\s*(:(?P<role>\w+):"
258258 r"`(?P<name>(?:~\w+\.)?[a-zA-Z0-9_.-]+)`|"
You can’t perform that action at this time.
0 commit comments