]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #17398: document url argument of RobotFileParser
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 15 Mar 2013 20:50:23 +0000 (16:50 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 15 Mar 2013 20:50:23 +0000 (16:50 -0400)
Doc/library/urllib.robotparser.rst

index 0cac2ad3eae576f8063f943a1f30f5380a61c3d9..f179de2f9263da6303e765a134b54e2033e4ebd2 100644 (file)
@@ -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)