mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-10 10:41:05 +03:00
removed a potentially uninitialized variable error fixed a deprecation
* xpath.c: removed a potentially uninitialized variable error * python/generator.py: fixed a deprecation warning * python/tests/tstLastError.py: silent the damn test when Okay ! Daniel
This commit is contained in:
@ -1055,7 +1055,7 @@ def buildWrappers():
|
||||
classes_ancestor[classname] == "xmlNode":
|
||||
classes.write(" def __repr__(self):\n")
|
||||
format = "<%s (%%s) object at 0x%%x>" % (classname)
|
||||
classes.write(" return \"%s\" %% (self.name, id (self))\n\n" % (
|
||||
classes.write(" return \"%s\" %% (self.name, long(id (self)))\n\n" % (
|
||||
format))
|
||||
else:
|
||||
txt.write("Class %s()\n" % (classname))
|
||||
|
Reference in New Issue
Block a user