]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
adjust declaration
authorBenjamin Peterson <benjamin@python.org>
Mon, 30 Jan 2012 01:13:18 +0000 (20:13 -0500)
committerBenjamin Peterson <benjamin@python.org>
Mon, 30 Jan 2012 01:13:18 +0000 (20:13 -0500)
Objects/typeobject.c

index de1e445ec0992bc6f82545af10bb70665ecb75c9..e2316bd0ad48dd3f8d372b167ecaf9778d6eb753 100644 (file)
@@ -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;