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

@@ -109,7 +109,7 @@ static char Interface1D_getExactTypeName___doc__[] =
" :rtype: string\n";
static PyObject *Interface1D_getExactTypeName( BPy_Interface1D *self ) {
return PyUnicode_FromFormat( self->if1D->getExactTypeName().c_str() );
return PyUnicode_FromString( self->if1D->getExactTypeName().c_str() );
}
#if 0