diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-24 13:57:55 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-24 13:57:55 +0300 |
commit | 2507ab6797926e9482ad5311697699f0a55f50e2 (patch) | |
tree | 1c4b14c4cf2c3f6ed570c508aa576f87cedd7457 /python/spec-py.c | |
parent | df40d9b27b1dc8bd82f8f1c8a17d357df3fae330 (diff) | |
download | librpm-tizen-2507ab6797926e9482ad5311697699f0a55f50e2.tar.gz librpm-tizen-2507ab6797926e9482ad5311697699f0a55f50e2.tar.bz2 librpm-tizen-2507ab6797926e9482ad5311697699f0a55f50e2.zip |
Enable subtyping on the rest of our type-objects
- not very useful atm as various places return hard-wired built-in types
Diffstat (limited to 'python/spec-py.c')
-rw-r--r-- | python/spec-py.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/spec-py.c b/python/spec-py.c index 85f2d104c..c401f2379 100644 --- a/python/spec-py.c +++ b/python/spec-py.c @@ -196,7 +196,7 @@ PyTypeObject spec_Type = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /*tp_flags*/ spec_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ |