aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/unix.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-27 10:31:08 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-30 13:49:35 +0200
commite82812a17888e8bbf30908f790b16433b086a4ef (patch)
tree6c63f3c68a5aea41715a0bb339dfa3c4073c036b /build_scripts/platforms/unix.py
parent090ce94f241496cdaac68eec4e7175b3e3395764 (diff)
Fix losing the default value when the type altered
The changes influence, for instance, the following line: ```python @staticmethod def translate( context: str, key: str, disambiguation: Optional[str] = ..., n: int = ... ) -> str: ... ``` Namely, the `disambiguation` argument now indicates that it has a default value. It seems that the `pyi-type` attribute of the modify-argument tag eats the argument default value. The commit should add the omitted values if they're provided. Initial-patch-by: Anton Yablokov (stsav012@gmail.com) Pick-to: 6.6 Change-Id: Ie3914c3ef13578ef8cfff9ecb8c6c64f167b5360 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/platforms/unix.py')
0 files changed, 0 insertions, 0 deletions