summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-05-21 12:26:35 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2011-05-21 12:26:35 -0400
commitb5fe29cdf3405a30498651d1473d70f15cc2372b (patch)
tree0dba4967e79a2e8161590336d67e7471b650e738 /CHANGELOG
parentc266933889cf23924faee02e14f0d88a2991f40d (diff)
downloadbeautifulsoup4-b5fe29cdf3405a30498651d1473d70f15cc2372b.tar.gz
Deprecated has_key in favor of has_attr.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG7
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index a636544..4d1d075 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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