From 693838658d0a1c94bc9efa31de700e2a9898c88c Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 23 Sep 2009 14:41:30 +0300 Subject: [PATCH] Remove the broken tp_print method from spec --- python/spec-py.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/python/spec-py.c b/python/spec-py.c index 6f73aa3..4739d34 100644 --- a/python/spec-py.c +++ b/python/spec-py.c @@ -43,12 +43,6 @@ spec_dealloc(specObject * s) PyObject_Del(s); } -static int -spec_print(specObject * s) -{ - return 0; -} - /* XXX TODO return something sensible if spec exists but component (eg %clean) * does not. Possibly "" or None */ @@ -188,7 +182,7 @@ PyTypeObject spec_Type = { sizeof(specObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ (destructor) spec_dealloc, /*tp_dealloc*/ - (printfunc) spec_print, /*tp_print*/ + 0, /*tp_print*/ 0, /*tp_getattr*/ 0, /*tp_setattr*/ 0, /*tp_compare*/ -- 2.7.4