diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-01 11:21:08 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-01 11:21:08 -0500 |
commit | 342fbb95061e21cfda550f41b4faef7e3d569077 (patch) | |
tree | 2070c3d4e8e61baa890b7e81d0ab187d268c6646 /README.txt | |
parent | 50f872c78f8b894996f81176d5e03f4a6bbe8efd (diff) |
Committed minor changes made while writing docs.
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -42,13 +42,17 @@ code and plug in any HTML or XML parser you want. Beautiful Soup 4.0 comes with glue code for four parsers: - * Python's standard HTMLParser + * Python's standard HTMLParser (html.parser in Python 3) * lxml's HTML and XML parsers * html5lib's HTML parser HTMLParser is the default, but I recommend you install one of the other parsers, or you'll have problems handling real-world markup. +For complete documentation, see the Sphinx documentation in +docs/source. What follows is a summary of the changes from Beautiful +Soup 3. + == The module name has changed == Previously you imported the BeautifulSoup class from a module also @@ -122,7 +126,7 @@ names, and turned into properties: * nextSiblingGenerator() -> next_siblings * previousGenerator() -> previous_elements * previousSiblingGenerator() -> previous_siblings - * recursiveChildGenerator() -> recursive_children + * recursiveChildGenerator() -> descendants * parentGenerator() -> parents So instead of this: |