summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 3bc9537..8258e97 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -1649,7 +1649,7 @@ You can find tags::
soup.select("title")
# [<title>The Dormouse's story</title>]
- soup.select("p nth-of-type(3)")
+ soup.select("p:nth-of-type(3)")
# [<p class="story">...</p>]
Find tags beneath other tags::