Python API
---------- Fix typo in Mesh module exception messages (submitted by Teppo Kansala ).
This commit is contained in:
@@ -5381,11 +5381,11 @@ static PyObject *MFaceSeq_delete( BPy_MFaceSeq * self, PyObject *args )
|
||||
if( PySequence_Size( args ) != 2 ||
|
||||
!PyArg_ParseTuple( args, "iO", &edge_also, &args ) )
|
||||
return EXPP_ReturnPyObjError( PyExc_TypeError,
|
||||
"expected and int and a sequence of ints or MFaces" );
|
||||
"expected an int and a sequence of ints or MFaces" );
|
||||
|
||||
if( !PyList_Check( args ) && !PyTuple_Check( args ) )
|
||||
return EXPP_ReturnPyObjError( PyExc_TypeError,
|
||||
"expected and int and a sequence of ints or MFaces" );
|
||||
"expected an int and a sequence of ints or MFaces" );
|
||||
|
||||
/* see how many args we need to parse */
|
||||
len = PySequence_Size( args );
|
||||
|
||||
Reference in New Issue
Block a user