aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2019-07-20 15:49:53 +0200
committerChristian Tismer <tismer@stackless.com>2019-07-23 17:18:18 +0200
commitc3342a72cfe682f9a9731a8fc12e117282e30d42 (patch)
tree8b6870d4deb7815ca51212f77acc20cc5ad13dca /sources/pyside2
parent295d9d7fb52505666a6dc9ac7b6fba2323814c48 (diff)
shiboken: fix a signature bug in __doc__ handling of global functions
The signature module was extended to allow automatic creation of __doc__ attributes by taking str of the signature. This function has to figure out when it should not touch an object that does not come from PySide. The check asked the type that was returned by GetClassOfFunc, but in case of a global function, the module of the function is returned. In order to prevent such mistakes, the function has been renamed to GetClassOrModOf. Change-Id: I055f1f0483674553f9300d642aa516cec607e66c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Keith Kyzivat <keith.kyzivat@qt.io>
Diffstat (limited to 'sources/pyside2')
0 files changed, 0 insertions, 0 deletions