aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/main.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-11-16 11:20:25 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-11-16 19:03:28 +0100
commit3ac9ba58e6ac969b420be17d5de465dbb2ce21c3 (patch)
treebf51182ead18c14dfceb23951a210382e6675dba /build_scripts/main.py
parent15763626e56fb7d495f56e77e4c8f730f560e2f5 (diff)
shiboken6: Refactor Python operator handling
The mapping of the function name to the Python operators was duplicated in ShibokenGenerator and QtDocGenerator. Move it to the Generator base class and use it in the QtDocGenerator as well. Add the underscores. Remove the functions retrieving the Python rich comparison operator code from ShibokenGenerator and add a comparison operator type enum to AbstractMetaFunction instead. Use that to retrieve the Python rich comparison operator code. Task-number: PYSIDE-1711 Change-Id: Ib73412b819c60c3af22bc72c6bd1cfaa7f25904a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/main.py')
0 files changed, 0 insertions, 0 deletions