summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/index.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index e2620dd..1d9d54c 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -1520,8 +1520,8 @@ say. It works just like ``.insert()`` on a Python list::
``extract()``
-------------
-``PageElement.extract()`` removes a tag or string from the tree, and
-returns it::
+``PageElement.extract()`` removes a tag or string from the tree. It
+returns the tag or string that was extracted::
markup = '<a href="http://example.com/">I linked to <i>example.com</i></a>'
soup = BeautifulSoup(markup)