Fix typos in src/App

This commit is contained in:
luz.paz
2019-07-19 15:18:29 -04:00
committed by wmayer
parent 951d872831
commit 3a1a6eb7d8
18 changed files with 75 additions and 76 deletions

View File

@@ -230,7 +230,7 @@ void PropertyListsBase::_setPyObject(PyObject *value) {
#else
if(!PyLong_Check(key))
#endif
throw Base::TypeError("expect key type to be interger");
throw Base::TypeError("expect key type to be integer");
auto idx = PyLong_AsLong(key);
if(idx<-1 || idx>listSize)
throw Base::RuntimeError("index out of bound");