diff options
| author | Christian Tismer <tismer@stackless.com> | 2024-12-03 16:59:49 +0100 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2024-12-05 10:51:18 +0100 |
| commit | c660766e30737238310e4918eb163b933129ab24 (patch) | |
| tree | 9fafd3879de9da3217e88a27be80170bbfa243c0 /build_scripts/main.py | |
| parent | eba68313ca3c906b8fef89914add682a5e4b6561 (diff) | |
type hints: Fix the heuristic for ambiguous signature removal
By turning over to positional-only parameters, some signatures
should be preferred to remove over others.
QMessage.warning had two signatures that became equal when
ignoring the names.
Use the version which has more default values in that case.
Some forgotten return types were added.
Change-Id: I200f10eb5742a595fafc3106a8e5fbc9a932c75b
Pick-to: 6.8
Task-number: PYSIDE-2846
Fixes: PYSIDE-2939
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/main.py')
0 files changed, 0 insertions, 0 deletions
