Skip to content

Commit 90daa6b

Browse files
committed
Fix: typo in type annotations. Fixes #147.
1 parent b568aea commit 90daa6b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
selectolax Changelog
22
====================
33

4+
5+
- Fix: typo in type annotations. Fixes #147.
6+
47
Version 0.3.27
58
-------------
69

selectolax/parser.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ class Selector:
5353
) -> bool:
5454
"""Returns True if any node in the current search scope contains specified text"""
5555
...
56-
def attribute_long_than(
56+
def attribute_longer_than(
5757
self, text: str, length: int, start: str | None = None
5858
) -> Selector:
5959
"""Filter all current matches by attribute length.
6060
6161
Similar to string-length in XPath."""
6262
...
63-
def any_attribute_long_than(
63+
def attribute_longer_than(
6464
self, text: str, length: int, start: str | None = None
6565
) -> bool:
6666
"""Returns True any href attribute longer than a specified length.

0 commit comments

Comments
 (0)