summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2018-07-15 19:56:05 -0400
committerLeonard Richardson <leonardr@segfault.org>2018-07-15 19:56:05 -0400
commita98b0e4b7cd1d0c61eebc50efabc6bc7876b50a0 (patch)
tree0092bc713b6e2a097eaec15d579817e6848e70b4
parentad2850dfe321856331c939ad0f5c5a636a07091b (diff)
parent3500da55ebc13f3d1750239b0060614afba11035 (diff)
Corrected some typos in the documentation.
-rw-r--r--doc/source/index.rst4
-rw-r--r--[-rwxr-xr-x]test-all-versions0
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index cc816a0..8b2822d 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -1271,7 +1271,7 @@ dictionary and passing the dictionary into ``find_all()`` as the
You can't use a keyword argument to search for HTML's 'name' element,
because Beautiful Soup uses the ``name`` argument to contain the name
of the tag itself. Instead, you can give a value to 'name' in the
-``attrs`` argument.
+``attrs`` argument::
name_soup = BeautifulSoup('<input name="email"/>')
name_soup.find_all(name="email")
@@ -1732,7 +1732,7 @@ Find tags by ID::
soup.select("a#link2")
# [<a class="sister" href="http://example.com/lacie" id="link2">Lacie</a>]
-Find tags that match any selector from a list of selectors:
+Find tags that match any selector from a list of selectors::
soup.select("#link1,#link2")
# [<a class="sister" href="http://example.com/elsie" id="link1">Elsie</a>,
diff --git a/test-all-versions b/test-all-versions
index 01e436b..01e436b 100755..100644
--- a/test-all-versions
+++ b/test-all-versions