aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/chapter1-basics
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2020-01-05 15:53:22 +0100
committerChristian Tismer <tismer@stackless.com>2020-01-06 09:43:46 +0100
commit6534335da7d386d27d14cdc8a0198702f9229555 (patch)
tree483d19b8b9febe244f8e88108b5035a6be28cb12 /examples/declarative/extending/chapter1-basics
parenta936cf492407f5d675bbed74e58cf74b0a567090 (diff)
Fix Limited API for Python 3.8
This trivial patch fixes an omission that has not been caught in earlier versions: PyObject_INIT must be replaced by PyObject_Init I think this change came by chance and was not the primary intent of the authors. Otherwise they would have made sure that the PyObject_INIT macro does not even exist when the Limited API is enabled. Change-Id: Iee8127dd398f1ec0997b9a629c5c48076137cecf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/declarative/extending/chapter1-basics')
0 files changed, 0 insertions, 0 deletions