Fixed invalid use of PyUnicode_FromFormat() where PyUnicode_FromString()

should have been used.
This commit is contained in:
2010-05-23 12:10:31 +00:00
parent ff3c742211
commit 2212564f18
29 changed files with 29 additions and 29 deletions

View File

@@ -103,7 +103,7 @@ static char UnaryFunction1DVectorViewShape_getName___doc__[] =
static PyObject * UnaryFunction1DVectorViewShape_getName( BPy_UnaryFunction1DVectorViewShape *self )
{
return PyUnicode_FromFormat( self->uf1D_vectorviewshape->getName().c_str() );
return PyUnicode_FromString( self->uf1D_vectorviewshape->getName().c_str() );
}
static PyObject * UnaryFunction1DVectorViewShape___call__( BPy_UnaryFunction1DVectorViewShape *self, PyObject *args, PyObject *kwds)