diff options
author | Aaron DeVore <aaron.devore@gmail.com> | 2011-03-05 02:06:04 -0800 |
---|---|---|
committer | Aaron DeVore <aaron.devore@gmail.com> | 2011-03-05 02:06:04 -0800 |
commit | 522a475cd7413849c3619189988c0965784b9456 (patch) | |
tree | bca0e43f17d0e62dd513071c7c7f2385db9327bf /CHANGELOG | |
parent | cc73ade4db1b1676a6cc5b28ad47671d966b7833 (diff) | |
download | beautifulsoup4-522a475cd7413849c3619189988c0965784b9456.tar.gz |
Changelog for attribute renames
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -19,10 +19,11 @@ version of the API is in use, the module is now called 'bs4': == Better method names == -Methods have been renamed to comply with PEP 8. The old names still -work. Here are the renames: +Methods and attributes have been renamed to comply with PEP 8. The old names +still work. Here are the renames: * replaceWith -> replace_with + * replaceWithChildren -> replace_with_children * findAll -> find_all * findAllNext -> find_all_next * findAllPrevious -> find_all_previous @@ -34,6 +35,8 @@ work. Here are the renames: * findPrevious -> find_previous * findPreviousSibling -> find_previous_sibling * findPreviousSiblings -> find_previous_siblings + * nextSibling -> next_sibling + * previousSibling -> previous_sibling Some attributes have also been renamed: @@ -159,7 +162,7 @@ A later version of Beautiful Soup will allow you to plug in different parsers to make tradeoffs between speed and the ability to handle bad HTML. -3. In Python 3 (but not Python 2),HTMLParser converts entities within +3. In Python 3 (but not Python 2), HTMLParser converts entities within attributes to the corresponding Unicode characters. In Python 2 it's possible to parse this string and leave the é intact. |