1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-07 12:21:17 +03:00

fixed a stupid error breaking the python API Daniel

* python/generator.py python/libxml2class.txt: fixed a stupid error
  breaking the python API
Daniel
This commit is contained in:
Daniel Veillard
2002-09-26 09:34:23 +00:00
parent b7c29c38f5
commit d4cb1e8a5f
3 changed files with 12 additions and 7 deletions

View File

@ -672,9 +672,9 @@ def nameFixup(name, classe, type, file):
elif name[0:20] == "xmlParserInputBuffer" and file != "python":
func = name[20:]
func = string.lower(func[0:1]) + func[1:]
elif name[0:9] == "xmlRegexp":
elif name[0:9] == "xmlRegexp" and file == "xmlregexp":
func = "regexp" + name[9:]
elif name[0:6] == "xmlReg":
elif name[0:6] == "xmlReg" and file == "xmlregexp":
func = "regexp" + name[6:]
elif name[0:11] == "xmlACatalog":
func = name[11:]