summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-02-05 16:06:57 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-02-05 16:06:57 (GMT)
commit727a59070d810fee4920697d560603775e7638dd (patch)
tree71f4d68e53c6f504a622eb9f96e712a4109d6dff /Lib/pydoc.py
parent2db7cd3ae2fbf8c4acde0b31f28c5c3a1e1d1bb8 (diff)
downloadcpython-727a59070d810fee4920697d560603775e7638dd.zip
cpython-727a59070d810fee4920697d560603775e7638dd.tar.gz
cpython-727a59070d810fee4920697d560603775e7638dd.tar.bz2
Update PEP URL.
(This code is duplicated between pydoc and DocXMLRPCServer; maybe it should be refactored as a GHOP project.) 2.5.2 backport candidate.
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 7585b18..ee14bf5 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -540,7 +540,7 @@ class HTMLDoc(Doc):
url = 'http://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc)
results.append('<a href="%s">%s</a>' % (url, escape(all)))
elif pep:
- url = 'http://www.python.org/peps/pep-%04d' % int(pep)
+ url = 'http://www.python.org/dev/peps/pep-%04d/' % int(pep)
results.append('<a href="%s">%s</a>' % (url, escape(all)))
elif text[end:end+1] == '(':
results.append(self.namelink(name, methods, funcs, classes))