diff --git a/doc/python_stub.py b/doc/python_stub.py index 329f11473..182a46512 100755 --- a/doc/python_stub.py +++ b/doc/python_stub.py @@ -39,7 +39,8 @@ from typing import Dict """ CONSTANT_RE = ( - r""" `(?PWEECHAT_[A-Z0-9_]+)` \((?P(string|integer))\)(?: \+)?""" + r" `(?PWEECHAT_[A-Z0-9_]+)` " + r"\((?P(string|integer))\)(?: \+)?" ) FUNCTION_RE = r"""\[source,python\]