Skip to content

Commit

Permalink
Fix spelling errors
Browse files Browse the repository at this point in the history
Last-Update: 2018-07-12

Last-Update: 2018-07-12

Gbp-Pq: Name fix-spelling-errors.patch
  • Loading branch information
sbrun authored and Kurt Kremitzki committed Jul 5, 2020
1 parent 04aee23 commit 31b5b11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/pyside2/libpyside/pysideproperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ PyObject *qPropertySetter(PyObject *self, PyObject *callback)
Py_INCREF(callback);
return callback;
}
PyErr_SetString(PyExc_TypeError, "Invalid property setter agument.");
PyErr_SetString(PyExc_TypeError, "Invalid property setter argument.");
return nullptr;
}

Expand All @@ -269,7 +269,7 @@ PyObject *qPropertyGetter(PyObject *self, PyObject *callback)
Py_INCREF(callback);
return callback;
}
PyErr_SetString(PyExc_TypeError, "Invalid property getter agument.");
PyErr_SetString(PyExc_TypeError, "Invalid property getter argument.");
return nullptr;
}

Expand Down Expand Up @@ -389,7 +389,7 @@ int setValue(PySideProperty *self, PyObject *source, PyObject *value)
Shiboken::AutoDecRef result(PyObject_CallObject(fset, args));
return (result.isNull() ? -1 : 0);
} else {
PyErr_SetString(PyExc_AttributeError, "Attibute read only");
PyErr_SetString(PyExc_AttributeError, "Attribute read only");
}
return -1;
}
Expand Down

0 comments on commit 31b5b11

Please sign in to comment.