aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/inheritance_diagram.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-01-05 13:44:24 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-06 09:03:06 +0000
commit09670a8746fa443c4b8271381bf21fc5c993f1bb (patch)
tree39ea18520877ab0d96e742de9030e35070b7452f /sources/pyside6/doc/inheritance_diagram.py
parent71a62eb4fa193f9af35c52918ec2dac613f2504a (diff)
scriptable application: Actually make the generated module available
A call to PyImport_AppendInittab() before Py_Initialize() is required to be able to import the module. Previously, the example would only add the instance of the mainwindow under the "__main__" module. Task-number: PYSIDE-841 Change-Id: Ib87ddd9fa9e4dbdcf413abe1d9e6273811fc414c Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit b62040783613568901e76a26799e130632004a7e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/doc/inheritance_diagram.py')
0 files changed, 0 insertions, 0 deletions