mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Sat Jan 15 18:18:07 CET 2005 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* nanoftp.c: applied patch from Dan McNichol for compilation on AIX
|
* nanoftp.c: applied patch from Dan McNichol for compilation on AIX
|
||||||
|
@ -231,6 +231,8 @@ class xmlCore:
|
|||||||
self._o = _obj;
|
self._o = _obj;
|
||||||
return
|
return
|
||||||
self._o = None
|
self._o = None
|
||||||
|
def __str__(self):
|
||||||
|
return self.serialize()
|
||||||
def get_parent(self):
|
def get_parent(self):
|
||||||
ret = libxml2mod.parent(self._o)
|
ret = libxml2mod.parent(self._o)
|
||||||
if ret == None:
|
if ret == None:
|
||||||
|
Reference in New Issue
Block a user