Typo in getAbutmentBox(), now display the right function

name in errors...
This commit is contained in:
Jean-Paul Chaput 2012-12-04 12:29:45 +00:00
parent f8b6b761c5
commit 91a30ce8af
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ extern "C" {
METHOD_HEAD ( "Cell.setAbutmentBox()" ) METHOD_HEAD ( "Cell.setAbutmentBox()" )
PyBox* pyBox; PyBox* pyBox;
if (!PyArg_ParseTuple(args,"O!:Cell.getInstancesUnder", &PyTypeBox, &pyBox)) { if (!PyArg_ParseTuple(args,"O!:Cell.setAbutmentBox", &PyTypeBox, &pyBox)) {
return NULL; return NULL;
} }
cell->setAbutmentBox ( *PYBOX_O(pyBox) ); cell->setAbutmentBox ( *PYBOX_O(pyBox) );