We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 967aacc commit 50689e8Copy full SHA for 50689e8
nipype/sphinxext/apidoc/docstring.py
@@ -62,7 +62,7 @@ class InterfaceDocstring(NipypeDocstring):
62
_name_rgx = re.compile(
63
r"^\s*(:(?P<role>\w+):`(?P<name>[a-zA-Z0-9_.-]+)`|"
64
r" (?P<name2>[a-zA-Z0-9_.-]+))\s*",
65
- re.X,
+ re.VERBOSE,
66
)
67
68
def __init__(
nipype/sphinxext/plot_workflow.py
@@ -484,7 +484,7 @@ def contains_doctest(text):
484
return False
485
except SyntaxError:
486
pass
487
- r = re.compile(r"^\s*>>>", re.M)
+ r = re.compile(r"^\s*>>>", re.MULTILINE)
488
m = r.search(text)
489
return bool(m)
490
0 commit comments