Skip to content

Commit 852bbef

Browse files
committed
fix docs references
1 parent 27c9919 commit 852bbef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/usage.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,14 @@ pseudo-elements::
143143
To extract all text of one or more element and all their child elements,
144144
formatted as plain text taking into account HTML tags (e.g. ``<br/>`` is
145145
translated as a line break), set ``text=True`` in your call to
146-
:meth:`~Selector.get` or :meth:`~Selector.getall` instead of including
146+
:meth:`~parsel.selector.Selector.get` or
147+
:meth:`~parsel.selector.Selector.getall` instead of including
147148
``::text`` (CSS) or ``/text()`` (XPath) in your query::
148149

149150
>>> selector.css('#images').get(text=True)
150151
'Name: My image 1\nName: My image 2\nName: My image 3\nName: My image 4\nName: My image 5'
151152

152-
See :meth:`Selector.get` for additional parameters that you can use to change
153+
See :meth:`Selector.get` for additional parameters that you can use to change
153154
how the extracted plain text is formatted.
154155

155156
As you can see, ``.xpath()`` and ``.css()`` methods return a

0 commit comments

Comments
 (0)