Commit ba5e18a3 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

applied patch fixing #73450 Daniel

* python/generator.py: applied patch fixing #73450
Daniel
parent bcf64c0d
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))
......
Supports Markdown
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