From 38efd630129f745be70337b67fc7b6a28aa55e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 24 Jun 2022 07:46:35 +0200 Subject: doc: fix generation of python stub --- doc/python_stub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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" `(?PWEECHAT_[A-Z0-9_]+)` " + r"( |\|) `(?PWEECHAT_[A-Z0-9_]+)` " r"\((?P(string|integer))\)(?: \+)?" ) -- cgit v1.2.3