Skip to content

Commit 2925463

Browse files
committed
Fix docstring for css_first method
It actually accepts any type.
1 parent dfe63c9 commit 2925463

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

selectolax/lexbor.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ cdef class LexborHTMLParser:
192192
----------
193193
194194
query : str
195-
default : bool, default None
195+
default : Any, default None
196196
Default value to return if there is no match.
197197
strict: bool, default True
198198
Set to True if you want to check if there is strictly only one match in the document.

selectolax/lexbor/node.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ cdef class LexborNode:
204204
----------
205205
206206
query : str
207-
default : bool, default None
207+
default : Any, default None
208208
Default value to return if there is no match.
209209
strict: bool, default True
210210
Set to True if you want to check if there is strictly only one match in the document.

selectolax/parser.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ cdef class HTMLParser:
7272
----------
7373
7474
query : str
75-
default : bool, default None
75+
default : Any, default None
7676
Default value to return if there is no match.
7777
strict: bool, default True
7878
Set to True if you want to check if there is strictly only one match in the document.

0 commit comments

Comments
 (0)