diff options
-rw-r--r-- | bs4/__init__.py | 2 | ||||
-rw-r--r-- | bs4/version.py | 1 | ||||
-rw-r--r-- | doc/source/index.rst | 10 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 8 insertions, 7 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py index c66cc65..8e0755b 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -17,7 +17,7 @@ http://www.crummy.com/software/BeautifulSoup/bs4/doc/ """ __author__ = "Leonard Richardson (leonardr@segfault.org)" -__version__ = "4.0.0b9" +__version__ = "4.0.0b10" __copyright__ = "Copyright (c) 2004-2012 Leonard Richardson" __license__ = "MIT" diff --git a/bs4/version.py b/bs4/version.py deleted file mode 100644 index a894be2..0000000 --- a/bs4/version.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "4.0.0b3" diff --git a/doc/source/index.rst b/doc/source/index.rst index 9746fbd..a9d404a 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -2251,8 +2251,8 @@ element in the soup, just as if it were a Python string:: # '<p>Sacr\xc3\xa9 bleu!</p>' Any characters that can't be represented in your chosen encoding will -be converted into numeric XML entity references. For instance, here's -a document that includes the Unicode character SNOWMAN:: +be converted into numeric XML entity references. Here's a document +that includes the Unicode character SNOWMAN:: markup = u"<b>\N{SNOWMAN}</b>" snowman_soup = BeautifulSoup(markup) @@ -2328,8 +2328,10 @@ to the ``BeautifulSoup`` constructor as the ``parse_only`` argument. (Note that *this feature won't work if you're using the html5lib parser*. If you use html5lib, the whole document will be parsed, no -matter what. In the examples below, I'll be forcing Beautiful Soup to -use Python's built-in parser.) +matter what. This is because html5lib constantly rearranges the parse +tree as it works, and if some part of the document didn't actually +make it into the parse tree, it'll crash. In the examples below, I'll +be forcing Beautiful Soup to use Python's built-in parser.) ``SoupStrainer`` ---------------- @@ -7,7 +7,7 @@ except ImportError: from distutils.command.build_py import build_py setup(name="beautifulsoup4", - version = "4.0.0b9", + version = "4.0.0b10", author="Leonard Richardson", author_email='leonardr@segfault.org', url="http://www.crummy.com/software/BeautifulSoup/bs4/", |