diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-07-11 00:48:57 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-07-11 00:48:57 (GMT) |
commit | 963ffdb9c9957df7131abc1a62c9ffb281183ba1 (patch) | |
tree | cbb08cbb8c6ef6de6a21c6c338b4bd4f19b0262f | |
parent | f6afa334b92e1ed4ffdd54cde120f54b08492b54 (diff) | |
download | cpython-963ffdb9c9957df7131abc1a62c9ffb281183ba1.zip cpython-963ffdb9c9957df7131abc1a62c9ffb281183ba1.tar.gz cpython-963ffdb9c9957df7131abc1a62c9ffb281183ba1.tar.bz2 |
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
-rw-r--r-- | Doc/library/robotparser.rst | 6 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/robotparser.rst b/Doc/library/robotparser.rst index cce7966..fb26123 100644 --- a/Doc/library/robotparser.rst +++ b/Doc/library/robotparser.rst @@ -13,6 +13,12 @@ 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 @@ -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 |