diff options
author | Kian Meng, Ang <kianmeng.ang@gmail.com> | 2022-01-02 19:54:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 12:54:11 +0100 |
commit | 4eff06df2f25e07e7b46954bd2bd02920b470cf9 (patch) | |
tree | 38898c9c7b6641213278ca56c0b18576cefe64c0 | |
parent | 17c30e84fa7ebd5fb14da8f5884507d80902797f (diff) | |
download | python-lxml-4eff06df2f25e07e7b46954bd2bd02920b470cf9.tar.gz |
Fix typos (GH-334)
-rw-r--r-- | doc/FAQ.txt | 2 | ||||
-rw-r--r-- | src/lxml/html/diff.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/FAQ.txt b/doc/FAQ.txt index d6e48fb8..6d4957fd 100644 --- a/doc/FAQ.txt +++ b/doc/FAQ.txt @@ -862,7 +862,7 @@ for possible approaches to solve your specific problem: Remember that lxml is fast anyway, so concurrency may not even be worth it. * look out for fancy XSLT stuff like foreign document access or - passing in subtrees trough XSLT variables. This might or might not + passing in subtrees through XSLT variables. This might or might not work, depending on your specific usage. Again, later versions of lxml and libxslt provide safer support here. diff --git a/src/lxml/html/diff.py b/src/lxml/html/diff.py index 5d143bd2..39bec78e 100644 --- a/src/lxml/html/diff.py +++ b/src/lxml/html/diff.py @@ -251,7 +251,7 @@ def merge_insert(ins_chunks, doc): doc.append('</ins> ') doc.extend(unbalanced_end) -# These are sentinals to represent the start and end of a <del> +# These are sentinels to represent the start and end of a <del> # segment, until we do the cleanup phase to turn them into proper # markup: class DEL_START: |