diff options
-rwxr-xr-x | doc/python_stub.py | 3 |
1 files changed, 2 insertions, 1 deletions
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""" `(?P<constant>WEECHAT_[A-Z0-9_]+)` \((?P<type>(string|integer))\)(?: \+)?""" + r" `(?P<constant>WEECHAT_[A-Z0-9_]+)` " + r"\((?P<type>(string|integer))\)(?: \+)?" ) FUNCTION_RE = r"""\[source,python\] |