aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/libpyside
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-01 16:51:57 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-02 12:34:17 +0000
commite9e157032ab383c894c38517a047860232e45482 (patch)
tree4f3c7901371f31f5f4baadcaa5ba5486c06499fb /sources/pyside2/libpyside
parent44cb6c51e6c3b43376f284941454dc8c13b81c3f (diff)
Documentation/inheritance_diagram.py: Fix import logic
The script tried to import a class or a module to obtain an introspectable object, which failed for nested classes like PySide2.QtCore.QStateMachine.SignalEvent, resulting in numerous warnings like: WARNING: Could not import class or module 'QStateMachine.SignalEvent' specified for inheritance diagram Rewrite the import to strip off the path components in a loop until the import succeeds and then walk up the attributes again to obtain the object. Task-number: PYSIDE-363 Change-Id: I33c6b4c6145b501a2f8f9ef3325610fefad9580d Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/libpyside')
0 files changed, 0 insertions, 0 deletions