Merge pull request #24468 from asmorkalov:as/python_ctor_docs

Fixed Python signatures in Doxygen documentation.
pull/24485/head
Alexander Smorkalov 1 year ago committed by GitHub
commit 2e49bf311a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/python/src2/gen2.py

@ -1059,7 +1059,7 @@ class FuncInfo(object):
else: else:
py_name = classinfo.full_export_name + "." + self.variants[0].wname 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 cname = classinfo.cname + '::' + cname
else: else:
py_name = '.'.join([self.namespace, self.variants[0].wname]) py_name = '.'.join([self.namespace, self.variants[0].wname])

Loading…
Cancel
Save