diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-03 16:00:46 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-04 09:39:39 +0000 |
| commit | b628c1643cadb2a4a6fb88d336ebd4aace3bb06a (patch) | |
| tree | 574839ada486ac5f8298750c983a46afe6361eec /sources/pyside2/PySide2/support/signature/mapping.py | |
| parent | e254c3c2aa140016e298107a0297885234abfde7 (diff) | |
Fix crash when mixing static overloads with instance methods in derived classes
Use METH_STATIC only when there are no instance methods in the same class.
Unearthed by a clash of QPlainTextEdit::find() and static QWidget::find(WId).
Change-Id: I891c678e004a0abc3937437b0cac26e8094853de
Fixes: PYSIDE-886
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/support/signature/mapping.py')
0 files changed, 0 insertions, 0 deletions
