diff --git a/src/wikitextprocessor/parser.py b/src/wikitextprocessor/parser.py index a947638..6429ac5 100644 --- a/src/wikitextprocessor/parser.py +++ b/src/wikitextprocessor/parser.py @@ -517,6 +517,15 @@ def find_html( attr_value: str, ) -> Iterator["HTMLNode"]: ... + @overload + def find_html( + self, + target_tags: str | list[str], + *, + attr_name: str, + attr_value: str, + ) -> Iterator["HTMLNode"]: ... + @overload def find_html( self,