From 4e1b7e82c001543adfa4ecbacccae61c93711f9a Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 5 May 2003 02:16:59 +0000 Subject: [PATCH] Back out Py_TPFLAGS_BASETYPE for now. CVS patchset: 6812 CVS date: 2003/05/05 02:16:59 --- python/rpmfts-py.c | 3 +-- python/rpmmpw-py.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python/rpmfts-py.c b/python/rpmfts-py.c index 4388aa2..1d3f845 100644 --- a/python/rpmfts-py.c +++ b/python/rpmfts-py.c @@ -530,8 +530,7 @@ PyTypeObject rpmfts_Type = { (getattrofunc) rpmfts_getattro, /* tp_getattro */ (setattrofunc) rpmfts_setattro, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT | /* tp_flags */ - Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, /* tp_flags */ rpmfts_doc, /* tp_doc */ (traverseproc) rpmfts_traverse, /* tp_traverse */ 0, /* tp_clear */ diff --git a/python/rpmmpw-py.c b/python/rpmmpw-py.c index dbf43b7..45a0223 100644 --- a/python/rpmmpw-py.c +++ b/python/rpmmpw-py.c @@ -2149,7 +2149,7 @@ PyTypeObject mpw_Type = { (getattrofunc) mpw_getattro, /* tp_getattro */ (setattrofunc) mpw_setattro, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ + Py_TPFLAGS_DEFAULT, /* tp_flags */ mpw_doc, /* tp_doc */ #if Py_TPFLAGS_HAVE_ITER (traverseproc)0, /* tp_traverse */ -- 2.7.4