mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-04 08:02:34 +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:
@ -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:
|
||||
|
Reference in New Issue
Block a user