[Python-checkins] cpython (2.7): Issue #17398: document url argument of RobotFileParser

terry.reedy python-checkins at python.org
Fri Mar 15 21:52:04 CET 2013


http://hg.python.org/cpython/rev/274e68e2a5a6
changeset:   82670:274e68e2a5a6
branch:      2.7
parent:      82664:7338e7ec47f0
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Fri Mar 15 16:49:22 2013 -0400
summary:
  Issue #17398: document url argument of RobotFileParser

files:
  Doc/library/robotparser.rst |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Doc/library/robotparser.rst b/Doc/library/robotparser.rst
--- a/Doc/library/robotparser.rst
+++ b/Doc/library/robotparser.rst
@@ -26,10 +26,10 @@
 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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list