diff options
author | Leonard Richardson <leonardr@segfault.org> | 2021-02-14 16:53:14 -0500 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2021-02-14 16:53:14 -0500 |
commit | 34e0ce8a9dd43ada1c55b50a156fbce63b1e2ebb (patch) | |
tree | fdeb487c1f52e32c6eb4761cd2a530a24c10b8b0 /bs4/builder/_html5lib.py | |
parent | 7201eecc09b51df5a0fb704670aa66bcc9d8e635 (diff) |
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]
Diffstat (limited to 'bs4/builder/_html5lib.py')
0 files changed, 0 insertions, 0 deletions