diff options
author | Ken Hughes <khughes@pacific.edu> | 2008-08-21 20:13:26 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2008-08-21 20:13:26 +0400 |
commit | 0a87d821a96c93adf6c5f8e44f1a2ac040605c5b (patch) | |
tree | 33a8e17de1ea77b231066e10014a26b12cb6347c /source | |
parent | 7e0c880c2e09f22075f47f8676fd7d108afe1057 (diff) |
Python API
----------
Fix typo in Mesh module exception messages (submitted by Teppo Kansala ).
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index 9f68287d658..b3e8fefdb7b 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -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 ); |