summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-01-30 01:13:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-01-30 01:13:18 (GMT)
commite28108cbd71d75e545c7364b16ed47c1271eb36a (patch)
treee5f8f4cd29238d1f7017dfcd3c64b9ac5c8dec35 /Objects
parent1334884ff2f5a3968e6a26157f869b4ca5de189b (diff)
downloadcpython-e28108cbd71d75e545c7364b16ed47c1271eb36a.zip
cpython-e28108cbd71d75e545c7364b16ed47c1271eb36a.tar.gz
cpython-e28108cbd71d75e545c7364b16ed47c1271eb36a.tar.bz2
adjust declaration
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index de1e445..e2316bd 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2347,7 +2347,8 @@ static short slotoffsets[] = {
#include "typeslots.inc"
};
-PyObject* PyType_FromSpec(PyType_Spec *spec)
+PyObject *
+PyType_FromSpec(PyType_Spec *spec)
{
PyHeapTypeObject *res = (PyHeapTypeObject*)PyType_GenericAlloc(&PyType_Type, 0);
char *res_start = (char*)res;