summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2013-10-28 07:17:18 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2013-10-28 07:17:18 -0400
commit3a61d8fcb6ef97bd5638120ac9314686109f327b (patch)
tree5a4225eae5eed40ab5fccaab30fc6873bc37495a /doc
parent60fb9fced8c65c0c72a03b9ad50d4a4c8277a169 (diff)
downloadbeautifulsoup4-3a61d8fcb6ef97bd5638120ac9314686109f327b.tar.gz
Made it as clear as possible the Beautiful Soup does not support any standardized subset of CSS selector syntax.
Diffstat (limited to 'doc')
-rw-r--r--doc/source/index.rst13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 1dc85a0..22a8453 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -1619,10 +1619,9 @@ tag it contains.
CSS selectors
-------------
-Beautiful Soup supports the most commonly-used `CSS selectors
-<http://www.w3.org/TR/CSS2/selector.html>`_. Just pass a string into
-the ``.select()`` method of a ``Tag`` object or the ``BeautifulSoup``
-object itself.
+Beautiful Soup supports the most commonly-used CSS selectors. Just
+pass a string into the ``.select()`` method of a ``Tag`` object or the
+``BeautifulSoup`` object itself.
You can find tags::
@@ -1729,9 +1728,9 @@ Match language codes::
This is a convenience for users who know the CSS selector syntax. You
can do all this stuff with the Beautiful Soup API. And if CSS
-selectors are all you need, you might as well use lxml directly,
-because it's faster. But this lets you `combine` simple CSS selectors
-with the Beautiful Soup API.
+selectors are all you need, you might as well use lxml directly: it's
+a lot faster, and it supports more CSS selectors . But this lets you
+`combine` simple CSS selectors with the Beautiful Soup API.
Modifying the tree