diff options
-rw-r--r-- | doc/source/index.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index 37d5f07..fbc1f4a 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1248,7 +1248,7 @@ arguments for finding tags, Beautiful Soup will find all tags whose ``.string`` matches your value for ``text``. This code finds the <a> tags whose ``.string`` is "Elsie":: - soup.find_all("a", "Elsie") + soup.find_all("a", text="Elsie") # [<a href="http://example.com/elsie" class="sister" id="link1">Elsie</a>] .. _limit: |