aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/qtpy2cpp_lib/tokenizer.py
diff options
context:
space:
mode:
authorJaime Resano <Jaime.RESANO-AISA@qt.io>2025-04-23 23:14:07 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-04-25 05:38:17 +0000
commit64a0e8bad7e2c3d74b216aff0c57983280efcede (patch)
treef22cea34c80908cc0c2ffeea0f2cecf181a24c96 /sources/pyside-tools/qtpy2cpp_lib/tokenizer.py
parent70f11d5bd4263b0b29f06cbf7a6ff083c882c376 (diff)
Fix pyside6-metaobjectdump crash when using @Slot(result=None)
This patch fixes a crash of the pyside6-metaobjectdump tool run in a file that contains a @Slot(result=None) decorator. The fix contains in improving the existing _name function to handle ast.Constant nodes. Fixes: PYSIDE-3089 Pick-to: 6.9 Change-Id: Id006898021efbc2cc0f9a48f2ce5ac94fcef1836 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/qtpy2cpp_lib/tokenizer.py')
0 files changed, 0 insertions, 0 deletions