forked from platypush/platypush
Regex fix.
This commit is contained in:
parent
9e489bb5cf
commit
a7bb81553c
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class DocstringParser:
|
||||||
_param_doc_re = re.compile(r"^:param\s+(?P<name>[\w_]+):\s+(?P<doc>.*)$")
|
_param_doc_re = re.compile(r"^:param\s+(?P<name>[\w_]+):\s+(?P<doc>.*)$")
|
||||||
_type_doc_re = re.compile(r"^:type\s+[\w_]+:.*$")
|
_type_doc_re = re.compile(r"^:type\s+[\w_]+:.*$")
|
||||||
_return_doc_re = re.compile(r"^:return:\s+(?P<doc>.*)$")
|
_return_doc_re = re.compile(r"^:return:\s+(?P<doc>.*)$")
|
||||||
_default_docstring = re.compile(r"^\s*Initialize self\. See help.*$")
|
_default_docstring = re.compile(r"^\s*Initialize self\.\s*See help.*$")
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|
Loading…
Reference in a new issue