Mereg 3.2.

This commit is contained in:
Stefan Krah 2012-08-19 11:22:28 +02:00
commit 7fda33b56a
1 changed files with 3 additions and 1 deletions

View File

@ -383,6 +383,8 @@ PyTypeObject*
PyStructSequence_NewType(PyStructSequence_Desc *desc)
{
PyTypeObject *result = (PyTypeObject*)PyType_GenericAlloc(&PyType_Type, 0);
PyStructSequence_InitType(result, desc);
if (result != NULL) {
PyStructSequence_InitType(result, desc);
}
return result;
}