~leonardr/beautifulsoup/bs4

Viewing all changes in revision 602.

  • Committer: Leonard Richardson
  • Date: 2021-02-14 21:53:14 UTC
  • Revision ID: leonardr@segfault.org-20210214215314-3a1o8cqhb582fmbd
NavigableString and its subclasses now implement the get_text()
  method, as well as the properties .strings and
  .stripped_strings. These methods will either return the string
  itself, or nothing, so the only reason to use this is when iterating
  over a list of mixed Tag and NavigableString objects. [bug=1904309]

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: