diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-05-21 12:26:35 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-05-21 12:26:35 -0400 |
commit | 728ff36cd480a02c562976c5279e5a41240c1bfb (patch) | |
tree | e7260a01e089b18bc7e18765ed3716ad96ec7710 /CHANGELOG | |
parent | 60630ce1ccd988bd449394c68d6eb817832c6e54 (diff) |
Deprecated has_key in favor of has_attr.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -35,6 +35,13 @@ work. Here are the renames: * findPreviousSibling -> find_previous_sibling * findPreviousSiblings -> find_previous_siblings +Methods have been renamed for compatibility with Python 3. + + * Tag.has_key() -> Tag.has_attr() + + (This was misleading, anyway, because has_key() looked at + a tag's attributes and __in__ looked at a tag's contents.) + Some attributes have also been renamed: * Tag.isSelfClosing -> Tag.is_empty_element |