Merge pull request #24468 from asmorkalov:as/python_ctor_docs

Fixed Python signatures in Doxygen documentation.
This commit is contained in:
Alexander Smorkalov 2023-11-02 08:53:20 +03:00 committed by GitHub
commit 2e49bf311a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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])