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:
@ -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
|
||||
#
|
||||
|
@ -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)
|
||||
|
@ -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:
|
||||
#
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user