aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpysideqml/pysideqmluncreatable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/libpysideqml/pysideqmluncreatable.cpp')
-rw-r--r--sources/pyside6/libpysideqml/pysideqmluncreatable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpysideqml/pysideqmluncreatable.cpp b/sources/pyside6/libpysideqml/pysideqmluncreatable.cpp
index 7c0f6b8ff..938b6a858 100644
--- a/sources/pyside6/libpysideqml/pysideqmluncreatable.cpp
+++ b/sources/pyside6/libpysideqml/pysideqmluncreatable.cpp
@@ -50,7 +50,7 @@ int PySideQmlUncreatablePrivate::tp_init(PyObject *self, PyObject *args, PyObjec
if (argsCount == 0) {
result = 0; // QML-generated reason
} else if (argsCount == 1) {
- PyObject *arg = PyTuple_GET_ITEM(args, 0);
+ PyObject *arg = PyTuple_GetItem(args, 0);
result = arg == Py_None
? 0 // QML-generated reason
: convertToString(self, args);