Fixed invalid use of PyUnicode_FromFormat() where PyUnicode_FromString()
should have been used.
This commit is contained in:
@@ -110,7 +110,7 @@ static char Iterator_getExactTypeName___doc__[] =
|
||||
" :rtype: string\n";
|
||||
|
||||
static PyObject * Iterator_getExactTypeName(BPy_Iterator* self) {
|
||||
return PyUnicode_FromFormat( self->it->getExactTypeName().c_str() );
|
||||
return PyUnicode_FromString( self->it->getExactTypeName().c_str() );
|
||||
}
|
||||
|
||||
static char Iterator_increment___doc__[] =
|
||||
|
||||
Reference in New Issue
Block a user