From: Terry Jan Reedy Date: Fri, 15 Mar 2013 20:49:22 +0000 (-0400) Subject: Issue #17398: document url argument of RobotFileParser X-Git-Tag: v2.7.4rc1~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1ed05c7a5158e9cf59b48dd12ed96233d2490ce;p=python Issue #17398: document url argument of RobotFileParser --- diff --git a/Doc/library/robotparser.rst b/Doc/library/robotparser.rst index 6f0bf537cf..d95b629211 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)