Update scrapy/http/response/text.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>
This commit is contained in:
elacuesta 2019-10-14 13:35:54 -03:00 committed by GitHub
parent ba840c5a6b
commit 498d33aac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class TextResponse(Response):
Note that when using the ``css`` or ``xpath`` parameters, this method will not produce
requests for selectors from which links cannot be obtained (for instance, anchor tags
without ``href`` attribute)
without an ``href`` attribute)
"""
arg_count = len(list(filter(None, (urls, css, xpath))))
if arg_count != 1: