summaryrefslogtreecommitdiff
path: root/python/rpmfi-py.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmfi-py.c')
-rw-r--r--python/rpmfi-py.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c
index 59c2e4c47..d3a18751e 100644
--- a/python/rpmfi-py.c
+++ b/python/rpmfi-py.c
@@ -157,14 +157,12 @@ rpmfi_FClass(rpmfiObject * s)
return Py_BuildValue("s", xstrdup(FClass));
}
-#if Py_TPFLAGS_HAVE_ITER
static PyObject *
rpmfi_iter(rpmfiObject * s)
{
Py_INCREF(s);
return (PyObject *)s;
}
-#endif
static PyObject *
rpmfi_iternext(rpmfiObject * s)
@@ -473,7 +471,6 @@ PyTypeObject rpmfi_Type = {
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
rpmfi_doc, /* tp_doc */
-#if Py_TPFLAGS_HAVE_ITER
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
@@ -493,7 +490,6 @@ PyTypeObject rpmfi_Type = {
(newfunc) rpmfi_new, /* tp_new */
(freefunc) rpmfi_free, /* tp_free */
0, /* tp_is_gc */
-#endif
};
/* ---------- */