From: Terry Jan Reedy Date: Fri, 15 Mar 2013 20:50:23 +0000 (-0400) Subject: Issue #17398: document url argument of RobotFileParser X-Git-Tag: v3.2.4rc1~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3f06817946d149fb401c09fa48a08a2f1fd5a3f;p=thirdparty%2FPython%2Fcpython.git Issue #17398: document url argument of RobotFileParser --- diff --git a/Doc/library/urllib.robotparser.rst b/Doc/library/urllib.robotparser.rst index 0cac2ad3eae5..f179de2f9263 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)