File tree 1 file changed +10
-10
lines changed
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):
243
243
_funcnamenext = _funcname .replace ('role' , 'rolenext' ).replace ('name' , 'namenext' )
244
244
_description = r"(?P<description>\s*:(\s+(?P<desc>\S+.*))?)?\s*$"
245
245
_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 )
256
256
257
257
_name_rgx = re .compile (r"^\s*(:(?P<role>\w+):"
258
258
r"`(?P<name>(?:~\w+\.)?[a-zA-Z0-9_.-]+)`|"
You can’t perform that action at this time.
0 commit comments