]> granicus.if.org Git - python/commitdiff
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
authorBrett Cannon <bcannon@gmail.com>
Fri, 11 Jul 2008 00:48:57 +0000 (00:48 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 11 Jul 2008 00:48:57 +0000 (00:48 +0000)
Doc/library/robotparser.rst
Misc/NEWS

index cce7966d41285fab2318fe36075020452cc85ca7..fb261231c50320107995f922fb366a01a227c926 100644 (file)
    single: World Wide Web
    single: URL
    single: robots.txt
+   
+.. note::
+   The :mod:`robotparser` module has been renamed :mod:`urllib.robotparser` in
+   Python 3.0.
+   The :term:`2to3` tool will automatically adapt imports when converting
+   your sources to 3.0.
 
 This module provides a single class, :class:`RobotFileParser`, which answers
 questions about whether or not a particular user agent can fetch a URL on the
index d447b389a28527c505ead8984affc8d77f449905..27c8e22de09858ec1b706c45d401ba9a9ed2cfbd 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -90,6 +90,9 @@ Build
 Documentation
 -------------
 
+- Document that robotparse has been renamed to urllib.robotparser in
+  Python 3.0.
+
 - Document that urlparse has been renamed to urllib.parse in Python 3.0.
 
 - Document that urllib2 is split across multiple modules and renamed in