summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-15 20:49:22 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-15 20:49:22 (GMT)
commitb1ed05c7a5158e9cf59b48dd12ed96233d2490ce (patch)
treec8262e8ec6b721f87c97d7039e68c5caab817062
parent0b2173a1ee99b57f0185171543af076f1fa38195 (diff)
downloadcpython-b1ed05c7a5158e9cf59b48dd12ed96233d2490ce.zip
cpython-b1ed05c7a5158e9cf59b48dd12ed96233d2490ce.tar.gz
cpython-b1ed05c7a5158e9cf59b48dd12ed96233d2490ce.tar.bz2
Issue #17398: document url argument of RobotFileParser
-rw-r--r--Doc/library/robotparser.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/robotparser.rst b/Doc/library/robotparser.rst
index 6f0bf53..d95b629 100644
--- a/Doc/library/robotparser.rst
+++ b/Doc/library/robotparser.rst
@@ -26,10 +26,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)