From a3ebc0ae7f4e6cfed7ce855ff476af657f4b2458 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 30 Oct 2023 17:28:03 +0300 Subject: [PATCH] Fixed Python signatures in Doxygen documentation. --- modules/python/src2/gen2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/src2/gen2.py b/modules/python/src2/gen2.py index ff967b90d3..c04d661227 100755 --- a/modules/python/src2/gen2.py +++ b/modules/python/src2/gen2.py @@ -1059,7 +1059,7 @@ class FuncInfo(object): else: py_name = classinfo.full_export_name + "." + self.variants[0].wname - if not self.is_static: + if not self.is_static and not self.isconstructor: cname = classinfo.cname + '::' + cname else: py_name = '.'.join([self.namespace, self.variants[0].wname])