diff --git a/src/docs/python/BeautifulSoup.html b/src/docs/python/BeautifulSoup.html index 5e6411d2..c2ac7a25 100644 --- a/src/docs/python/BeautifulSoup.html +++ b/src/docs/python/BeautifulSoup.html @@ -1170,7 +1170,7 @@
find_parent()
和 find_parents()
方法会让人联想到 .parent 和 .parents 属性.它们之间的联系非常紧密.搜索父辈节点的方法实际上就是对 .parents
属性的迭代搜索.
find_next_siblings( name , attrs , recursive , string , **kwargs )
find_next_sibling( name , attrs , recursive , string , **kwargs )
这2个方法通过 .next_siblings 属性对当tag的所有后面解析 [5] 的兄弟tag节点进行迭代, find_next_siblings()
方法返回所有符合条件的后面的兄弟节点, find_next_sibling()
只返回符合条件的后面的第一个tag节点.