Fix typos in src/App
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user