On Jan 25, 4:32 am, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
> "mukappa" wrote:
> > Is it possible to subclass cElementTree.XMLTreeBuilder?no, it's a factory
> > function. if you need to extend it, you'll have to wrap it. but
> I'm not sure I see the use case; what is it you're trying to do he
"mukappa" wrote:
> Is it possible to subclass cElementTree.XMLTreeBuilder?
no, it's a factory function. if you need to extend it, you'll have to wrap it.
but
I'm not sure I see the use case; what is it you're trying to do here?
--
http://mail.python.org/mailman/listinfo/python-list
I found an earlier post about subclassing cElementTree.Element which
can't
be done because it is a factory method. I am trying to subclass
XMLTreeBuilder
with success using the python implementation, but not with
cElementTree.
[1013]$ python
Python 2.3.4 (#1, Feb 22 2005, 04:09:37)
[GCC 3.4.3 200