summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.robotparser.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-15 20:50:23 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-15 20:50:23 (GMT)
commitf3f06817946d149fb401c09fa48a08a2f1fd5a3f (patch)
tree74a90b12455889176314699a2428304034ac3251 /Doc/library/urllib.robotparser.rst
parent4b3975b944d5f7b9a4e64274da7114d09e2b4b80 (diff)
downloadcpython-f3f06817946d149fb401c09fa48a08a2f1fd5a3f.zip
cpython-f3f06817946d149fb401c09fa48a08a2f1fd5a3f.tar.gz
cpython-f3f06817946d149fb401c09fa48a08a2f1fd5a3f.tar.bz2
Issue #17398: document url argument of RobotFileParser
Diffstat (limited to 'Doc/library/urllib.robotparser.rst')
-rw-r--r--Doc/library/urllib.robotparser.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/urllib.robotparser.rst b/Doc/library/urllib.robotparser.rst
index 0cac2ad..f179de2 100644
--- a/Doc/library/urllib.robotparser.rst
+++ b/Doc/library/urllib.robotparser.rst
@@ -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)