Serhiy Storchaka added the comment: In lxml Element is a factory function, not a class. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28234> _______________________________________