diff options
author | Christian Tismer <tismer@stackless.com> | 2019-07-20 15:49:53 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2019-07-23 17:18:18 +0200 |
commit | c3342a72cfe682f9a9731a8fc12e117282e30d42 (patch) | |
tree | 8b6870d4deb7815ca51212f77acc20cc5ad13dca /LICENSE.GPL2 | |
parent | 295d9d7fb52505666a6dc9ac7b6fba2323814c48 (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 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions