mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Issue #17398: document url argument of RobotFileParser
This commit is contained in:
parent
4b3975b944
commit
f3f0681794
@ -19,10 +19,10 @@ Web site that published the :file:`robots.txt` file. For more details on the
|
||||
structure of :file:`robots.txt` files, see http://www.robotstxt.org/orig.html.
|
||||
|
||||
|
||||
.. class:: RobotFileParser()
|
||||
.. class:: RobotFileParser(url='')
|
||||
|
||||
This class provides a set of methods to read, parse and answer questions
|
||||
about a single :file:`robots.txt` file.
|
||||
This class provides methods to read, parse and answer questions about the
|
||||
:file:`robots.txt` file at *url*.
|
||||
|
||||
.. method:: set_url(url)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user