X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fetc%2Fhtmldocck.py;h=c97fb4b805473625201e5c46b5ab339ceb10ab64;hb=8dfb40722da197e77a33a19eb9d3fd6512831341;hp=baf95627c702820ea56bac0fea38841e73383ed6;hpb=367f2ad8b6844192b3b9b2becfec89a159eecd57;p=rust.git diff --git a/src/etc/htmldocck.py b/src/etc/htmldocck.py index baf95627c70..c97fb4b8054 100644 --- a/src/etc/htmldocck.py +++ b/src/etc/htmldocck.py @@ -386,7 +386,7 @@ def check_tree_attr(tree, path, attr, pat, regexp): return ret -# Returns the number of occurences matching the regex (`regexp`) and the text (`pat`). +# Returns the number of occurrences matching the regex (`regexp`) and the text (`pat`). def check_tree_text(tree, path, pat, regexp, stop_at_first): path = normalize_xpath(path) match_count = 0