Skip to content

Commit

Permalink
Fix typo in parameter name (#123)
Browse files Browse the repository at this point in the history
Method `traverse` should have a second parameter named `include_text` rather than `indluce_text`.
  • Loading branch information
PowerSnail authored Aug 8, 2024
1 parent 640372e commit cc9e8ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selectolax/lexbor.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class LexborNode:
def iter(self, include_text: bool = False) -> Iterator["LexborNode"]: ...
def unwrap(self) -> None: ...
def unwrap_tags(self, tags: list[str]) -> None: ...
def traverse(self, indluce_text: bool = False) -> Iterator["LexborNode"]: ...
def traverse(self, include_text: bool = False) -> Iterator["LexborNode"]: ...
def replace_with(self, value: bytes | str | "LexborNode") -> None: ...
def insert_before(self, value: bytes | str | "LexborNode") -> None: ...
def insert_after(self, value: bytes | str | "LexborNode") -> None: ...
Expand Down Expand Up @@ -119,4 +119,4 @@ class LexborHTMLParser:
def scripts_srcs_contain(self, queries: tuple[str]) -> bool: ...
def css_matches(self, selector: str) -> bool: ...
def clone(self) -> "LexborHTMLParser": ...
def unwrap_tags(self, tags: list[str]) -> None: ...
def unwrap_tags(self, tags: list[str]) -> None: ...

0 comments on commit cc9e8ed

Please sign in to comment.