summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortt. <tenorsax+launchpadnet@gmail.com>2017-10-01 12:26:38 -0400
committertt. <tenorsax+launchpadnet@gmail.com>2017-10-01 12:26:38 -0400
commit338878d7479a47a08935c76eecd443d46f00ee3e (patch)
tree36b4a81832fc1432321b510e089f8b4d331e8bbe
parent88db67cad57dc07a2b3c0cc51733bff9d5916006 (diff)
downloadbeautifulsoup4-338878d7479a47a08935c76eecd443d46f00ee3e.tar.gz
Fix two typos in docs
-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 e1b73aa..9269385 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