summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-05-21 18:10:15 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2011-05-21 18:10:15 -0400
commitadbc7ecfea5b3e3349cdb4b4eac702d1e2b42e63 (patch)
treee8a7024d0e4e4319a9f9148cbd43d986028282de /CHANGELOG
parentb4b3a1c6f001d99275e1682aa30ea5dc21017bea (diff)
parentc29185a017c93d1aa19dea4606bde2a064f23639 (diff)
OK, figured that out.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 1e8b449..d2a1c08 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -38,9 +38,19 @@ still work. Here are the renames:
* nextSibling -> next_sibling
* previousSibling -> previous_sibling
+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
+ * UnicodeDammit.unicode -> UnicodeDammit.unicode_markup
+ * Tag.next -> Tag.next_element
+ * Tag.previous -> Tag.previous_element
So have some arguments to popular methods: