From e70fd66040ef86193aa4e1b1d4d34a8e724ff666 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Fri, 28 Sep 2012 09:27:05 -0400 Subject: Fixed package name. --- doc/source/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/source/index.rst b/doc/source/index.rst index 7038bb1..7a516ef 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -156,7 +156,7 @@ Installing Beautiful Soup If you're using a recent version of Debian or Ubuntu Linux, you can install Beautiful Soup with the system package manager: -:kbd:`$ apt-get install python-beautifulsoup4` +:kbd:`$ apt-get install python-bs4` Beautiful Soup 4 is published through PyPi, so if you can't install it with the system packager, you can install it with ``easy_install`` or @@ -1256,7 +1256,7 @@ classes:: css_soup.find_all("p", class_="body") # [

] -You can also search for the exact string value of the ``class`` attribute: +You can also search for the exact string value of the ``class`` attribute:: css_soup.find_all("p", class_="body strikeout") # [

] @@ -1277,7 +1277,7 @@ string as a CSS class:: # Tillie] You can also pass in a regular expression, a function or -True—anything except a dictionary. Whatever you pass in will be +True--anything except a dictionary. Whatever you pass in will be used to search against the CSS class, the same as if you'd passed it in for the ``class_`` keyword argument:: -- cgit v1.2.3