Skip to content

Commit

Permalink
Fix: Fix incorrect type annotations for LexborHTMLParser.__init__. F…
Browse files Browse the repository at this point in the history
…ixes #144
  • Loading branch information
rushter committed Dec 15, 2024
1 parent 90daa6b commit a5bd58c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ selectolax Changelog


- Fix: typo in type annotations. Fixes #147.
- Fix: Fix incorrect type annotations for `LexborHTMLParser.__init__`. Fixes #144.

Version 0.3.27
-------------
Expand Down
2 changes: 1 addition & 1 deletion selectolax/lexbor.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class LexborNode:
def text_content(self) -> str | None: ...

class LexborHTMLParser:
def __init__(self, html: str): ...
def __init__(self, html: str| bytes ): ...
@property
def selector(self) -> "LexborCSSSelector": ...
@property
Expand Down

0 comments on commit a5bd58c

Please sign in to comment.