Commit 1cd4dae1 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

make __str__ call serialize() on nodes, c.f. bug #157872 Daniel

* python/libxml.py: make __str__ call serialize() on nodes, c.f.
  bug #157872
Daniel
parent db439254
Sat Jan 15 18:44:30 CET 2005 Daniel Veillard <daniel@veillard.com>
* python/libxml.py: make __str__ call serialize() on nodes, c.f.
bug #157872
Sat Jan 15 18:18:07 CET 2005 Daniel Veillard <daniel@veillard.com>
 
* nanoftp.c: applied patch from Dan McNichol for compilation on AIX
......
......@@ -231,6 +231,8 @@ class xmlCore:
self._o = _obj;
return
self._o = None
def __str__(self):
return self.serialize()
def get_parent(self):
ret = libxml2mod.parent(self._o)
if ret == None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment