diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-01-30 01:13:18 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-01-30 01:13:18 (GMT) |
commit | e28108cbd71d75e545c7364b16ed47c1271eb36a (patch) | |
tree | e5f8f4cd29238d1f7017dfcd3c64b9ac5c8dec35 /Objects | |
parent | 1334884ff2f5a3968e6a26157f869b4ca5de189b (diff) | |
download | cpython-e28108cbd71d75e545c7364b16ed47c1271eb36a.zip cpython-e28108cbd71d75e545c7364b16ed47c1271eb36a.tar.gz cpython-e28108cbd71d75e545c7364b16ed47c1271eb36a.tar.bz2 |
adjust declaration
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 3 |
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; |