From 5bb4477e8438f50de0361d5260eabc6b2412af22 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Mon, 28 Oct 2013 07:17:18 -0400 Subject: Made it as clear as possible the Beautiful Soup does not support any standardized subset of CSS selector syntax. --- doc/source/index.rst | 13 ++++++------- 1 file 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 -`_. 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 -- cgit v1.2.3