summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-06-24 07:46:35 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-06-24 07:46:35 +0200
commit38efd630129f745be70337b67fc7b6a28aa55e25 (patch)
tree7d89806cb5b6532488fe49bb461546174fdbf9b4
parent031819173b5ebfd6182ec89920675337163eff80 (diff)
downloadweechat-38efd630129f745be70337b67fc7b6a28aa55e25.zip
doc: fix generation of python stub
-rwxr-xr-xdoc/python_stub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_stub.py b/doc/python_stub.py
index afb2a6926..a5422af0b 100755
--- a/doc/python_stub.py
+++ b/doc/python_stub.py
@@ -39,7 +39,7 @@ from typing import Dict
"""
CONSTANT_RE = (
- r" `(?P<constant>WEECHAT_[A-Z0-9_]+)` "
+ r"( |\|) `(?P<constant>WEECHAT_[A-Z0-9_]+)` "
r"\((?P<type>(string|integer))\)(?: \+)?"
)