Skip to content

Commit 0a01bed

Browse files
committed
Update docstring
1 parent 311d53d commit 0a01bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selectolax/lexbor.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ cdef class LexborHTMLParser:
729729
>>> new_node = parser.create_node("span")
730730
>>> new_node.tag_name
731731
'span'
732-
>>> parser.root.append_child(new_node)
732+
>>> parser.css_first("div").append_child(new_node)
733733
>>> parser.html
734734
'<html><head></head><body><div><span></span></div></body></html>'
735735
"""

0 commit comments

Comments
 (0)