diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2020-03-08 17:19:42 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2020-03-08 17:41:53 +0100 |
commit | 20c60886e42c942e6c45a3a99d583e4d3269a1c1 (patch) | |
tree | 356da033b696b45954882b69a60335d922cdd0e5 /python | |
parent | 2a7b66846ef419a4da4ed60f863449f3498a1cc5 (diff) | |
download | libxml2-20c60886e42c942e6c45a3a99d583e4d3269a1c1.tar.gz |
Fix typos
Resolves #133.
Diffstat (limited to 'python')
-rw-r--r-- | python/libxml.py | 2 | ||||
-rw-r--r-- | python/libxml2-python-api.xml | 4 | ||||
-rwxr-xr-x | python/tests/nsdel.py | 2 | ||||
-rwxr-xr-x | python/tests/validate.py | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/python/libxml.py b/python/libxml.py index 2466cc9f..1e458d17 100644 --- a/python/libxml.py +++ b/python/libxml.py @@ -392,7 +392,7 @@ class xmlCore: last = property(get_last, None, None, "Last sibling node") next = property(get_next, None, None, "Next sibling node") prev = property(get_prev, None, None, "Previous sibling node") - properties = property(get_properties, None, None, "List of properies") + properties = property(get_properties, None, None, "List of properties") content = property(get_content, None, None, "Content of this node") name = property(get_name, None, None, "Node name") type = property(get_type, None, None, "Node type") diff --git a/python/libxml2-python-api.xml b/python/libxml2-python-api.xml index 032b44ba..e84faad6 100644 --- a/python/libxml2-python-api.xml +++ b/python/libxml2-python-api.xml @@ -60,13 +60,13 @@ <info>Create a libxml2 output buffer from a Python file</info> <return type='xmlOutputBufferPtr' info="the output buffer"/> <arg name='file' type='pythonObject' info='the Python file'/> - <arg name='encoding' type='xmlChar *' info='an optionnal encoding'/> + <arg name='encoding' type='xmlChar *' info='an optional encoding'/> </function> <function name='xmlCreateInputBuffer' file='python'> <info>Create a libxml2 input buffer from a Python file</info> <return type='xmlParserInputBufferPtr' info="the input buffer"/> <arg name='file' type='pythonObject' info='the Python file'/> - <arg name='encoding' type='xmlChar *' info='an optionnal encoding'/> + <arg name='encoding' type='xmlChar *' info='an optional encoding'/> </function> <function name='xmlSetEntityLoader' file='python'> <info>Set the entity resolver as a python function</info> diff --git a/python/tests/nsdel.py b/python/tests/nsdel.py index 079399a0..8558248c 100755 --- a/python/tests/nsdel.py +++ b/python/tests/nsdel.py @@ -42,7 +42,7 @@ checkNamespaceDefs(node, 0) ns.freeNsList() doc.freeDoc() -# Remove a namespace refered to by a child +# Remove a namespace referred to by a child doc = libxml2.newDoc("1.0") root = doc.newChild(None, "root", None) namespace = root.newNs("http://example.com/sample", "s") diff --git a/python/tests/validate.py b/python/tests/validate.py index 16c0386f..cec9cb0f 100755 --- a/python/tests/validate.py +++ b/python/tests/validate.py @@ -36,7 +36,7 @@ while i > 0: sys.exit(1) i = i - 1 -#desactivate error messages from the validation +#deactivate error messages from the validation def noerr(ctx, str): pass |