mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
applied patch fixing #73450 Daniel
* python/generator.py: applied patch fixing #73450 Daniel
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
Tue Mar 5 10:35:24 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* python/generator.py: applied patch fixing #73450
|
||||
|
||||
Mon Mar 4 17:59:29 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xpath.c: fixing #61290 "namespace nodes have no parent"
|
||||
|
@ -814,8 +814,8 @@ def buildWrappers():
|
||||
if classes_ancestor[classname] == "xmlCore" or \
|
||||
classes_ancestor[classname] == "xmlNode":
|
||||
classes.write(" def __repr__(self):\n")
|
||||
format = "%s:%%s" % (classname)
|
||||
classes.write(" return \"%s\" %% (self.name)\n\n" % (
|
||||
format = "<%s (%%s) object at 0x%%x>" % (classname)
|
||||
classes.write(" return \"%s\" %% (self.name, id (self))\n\n" % (
|
||||
format))
|
||||
else:
|
||||
txt.write("Class %s()\n" % (classname))
|
||||
|
Reference in New Issue
Block a user