]> granicus.if.org Git - python/commitdiff
Issue #17398: document url argument of RobotFileParser
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 15 Mar 2013 20:49:22 +0000 (16:49 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 15 Mar 2013 20:49:22 +0000 (16:49 -0400)
Doc/library/robotparser.rst

index 6f0bf537cf01c665767e25862eeb101a6d70156f..d95b6292111a432c300f1724d72f874fd94e0171 100644 (file)
@@ -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)