1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

python: fix typos

Typos were found with codespell.
This commit is contained in:
Yegor Yefremov
2024-10-14 10:20:33 +02:00
parent 35cf78b275
commit 5df99903ae
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#
# Both libxml2mod and libxsltmod have a dependancy on libxml2.so
# Both libxml2mod and libxsltmod have a dependency on libxml2.so
# and they should share the same module, try to convince the python
# loader to work in that mode if feasible
#

View File

@ -869,7 +869,7 @@ libxslt_xsltSaveResultToString(PyObject *self ATTRIBUTE_UNUSED, PyObject *args)
/* FIXME: We should probably add more restrictive error checking
* and raise an error instead of "just" returning NULL.
* FIXME: Documentation and code for xsltSaveResultToString diff
* -> emmitted will never be positive non-null.
* -> emitted will never be positive non-null.
*/
emitted = xsltSaveResultToString(&buffer, &size, result, style);
if(!buffer || emitted < 0)

View File

@ -19,7 +19,7 @@ def transform_test(ctx, node, inst, comp):
global insertNodeName
#
# Small check to verify the context is correcly accessed
# Small check to verify the context is correctly accessed
#
try:
#

View File

@ -13,7 +13,7 @@ def f(ctx, str):
global nodeName
#
# Small check to verify the context is correcly accessed
# Small check to verify the context is correctly accessed
#
try:
pctxt = libxslt.xpathParserContext(_obj=ctx)