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 | b5fe29cdf3405a30498651d1473d70f15cc2372b (patch) | |
tree | 0dba4967e79a2e8161590336d67e7471b650e738 /CHANGELOG | |
parent | c266933889cf23924faee02e14f0d88a2991f40d (diff) | |
download | beautifulsoup4-b5fe29cdf3405a30498651d1473d70f15cc2372b.tar.gz |
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 |