diff options
author | Leonard Richardson <leonardr@segfault.org> | 2013-05-20 11:45:08 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2013-05-20 11:45:08 -0400 |
commit | b289252da31f1824ee9c85f1ce53907069d6dd7e (patch) | |
tree | bfc6115d76306aa871ad157142314049809d2748 /NEWS.txt | |
parent | 612922241894abf0467e77c12fc4bb8aa130ac41 (diff) |
A NavigableString object now has an immutable '.name' property whose
value is always None. This makes it easier to iterate over a mixed
list of tags and strings without having to check whether each
element is a tag or a string.
Diffstat (limited to 'NEWS.txt')
-rw-r--r-- | NEWS.txt | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,9 @@ -= 4.2.1 (Unreleased) = += 4.3.0 (Unreleased) = + +* A NavigableString object now has an immutable '.name' property whose + value is always None. This makes it easier to iterate over a mixed + list of tags and strings without having to check whether each + element is a tag or a string. * Gave new_string() the ability to create subclasses of NavigableString. [bug=1181986] |