aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/shiboken_version.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-12-07 15:55:14 +0100
committerSimo Fält <simo.falt@qt.io>2021-12-08 12:36:12 +0200
commit74ddf907ec658aaaeb6fabc7733d7429bc42a3e8 (patch)
treefc963707930645b316c8528f071e298db025bb4c /sources/shiboken6/shiboken_version.py
parent71ceb878544a51c5e518641cd366ddcdc73ed8fe (diff)
Signature: fix the __doc__ attribute of classes
The signature module had been changed to no longer default the __doc__ attribute of classes to the __init__ signature. This has the side effect of crashing "help(QtCore)". Fixed by correct defaults in C++ (AttributeError) and by setting a "None" default in the Python handler. The make_helptest function defaults again correctly to the signature: >>> errorhandler.make_helptext(QtWidgets.QApplication) 'QApplication(self) -> None\nQApplication(self, arg__1: Sequence[str]) -> None' Change-Id: I140f2b940f98eb126541b18b0feb312c7c4e9728 Fixes: PYSIDE-1727 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 8901719fd74ce8d8909608365e68f7354adaa254) Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken6/shiboken_version.py')
0 files changed, 0 insertions, 0 deletions