[Python-checkins] cpython (3.2): adjust declaration
benjamin.peterson
python-checkins at python.org
Mon Jan 30 02:17:14 CET 2012
http://hg.python.org/cpython/rev/32816454ba30
changeset: 74684:32816454ba30
branch: 3.2
parent: 74680:572bb8c265c0
user: Benjamin Peterson <benjamin at python.org>
date: Sun Jan 29 20:13:18 2012 -0500
summary:
adjust declaration
files:
Objects/typeobject.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2347,7 +2347,8 @@
#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;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list