diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-12-28 21:14:18 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-12-28 21:14:18 +0000 |
commit | aba976d8254720a28e06f351bdb913ced88a8f95 (patch) | |
tree | cd74179e076b5aa9a8cb34bdedaa4cd396932cae /python/generator.py | |
parent | 6943a4db3e3d515fca820586fdab4c95ceac1d40 (diff) | |
download | libxml2-aba976d8254720a28e06f351bdb913ced88a8f95.tar.gz |
changed the generator to provide casing for the XmlTextReader similar to
* python/generator.py python/libxml2class.txt
python/tests/reader.py python/tests/reader2.py: changed the
generator to provide casing for the XmlTextReader similar to
C# so that examples and documentation are more directly transposable.
Fixed the couple of tests in the suite.
Daniel
Diffstat (limited to 'python/generator.py')
-rwxr-xr-x | python/generator.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/generator.py b/python/generator.py index b42630b9..b99978f7 100755 --- a/python/generator.py +++ b/python/generator.py @@ -681,7 +681,6 @@ def nameFixup(name, classe, type, file): func = "regexp" + name[6:] elif name[0:13] == "xmlTextReader" and file == "xmlreader": func = name[13:] - func = string.lower(func[0:1]) + func[1:] elif name[0:11] == "xmlACatalog": func = name[11:] func = string.lower(func[0:1]) + func[1:] |