Skip to content

Commit 28cd0f1

Browse files
Add explanation for base_url
Co-Authored-By: Adrián Chaves <[email protected]>
1 parent 4122e7f commit 28cd0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsel/selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class Selector(object):
173173
``type`` defines the selector type, it can be ``"html"``, ``"xml"`` or ``None`` (default).
174174
If ``type`` is ``None``, the selector defaults to ``"html"``.
175175
176-
The ``base_url`` keyword allows setting a URL for the document. This is needed when looking up external entities with relative paths.
176+
``base_url`` allows setting a URL for the document. This is needed when looking up external entities with relative paths.
177177
See [`lxml` documentation](https://lxml.de/api/index.html) ``lxml.etree.fromstring`` for more information.
178178
"""
179179

0 commit comments

Comments
 (0)