Back out Py_TPFLAGS_BASETYPE for now.
authorjbj <devnull@localhost>
Mon, 5 May 2003 02:16:59 +0000 (02:16 +0000)
committerjbj <devnull@localhost>
Mon, 5 May 2003 02:16:59 +0000 (02:16 +0000)
CVS patchset: 6812
CVS date: 2003/05/05 02:16:59

python/rpmfts-py.c
python/rpmmpw-py.c

index 4388aa2..1d3f845 100644 (file)
@@ -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 */
index dbf43b7..45a0223 100644 (file)
@@ -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 */