classification
Title: Tutorial link in "help()" in Python3 points to Python2 tutorial
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Dubslow, docs@python, georg.brandl, python-dev, r.david.murray
Priority: normal Keywords: easy

Created on 2012-03-29 05:54 by Dubslow, last changed 2012-03-31 16:11 by r.david.murray. This issue is now closed.

Messages (5)
msg157011 - (view) Author: (Dubslow) Date: 2012-03-29 05:54
I installed "python3" to get into a good scripting language.

I ran "python3" and it said type "help". I did and it said type "help()" for interactive help, or "help(object)" for specific help. Just looking to get started, I did the former, where the message displayed says "Welcome to Python 3.2!  This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/tutorial/."

The link, unfortunately, leads to the Python 2.7 documentation, which is rather useless considering I'm trying to learn 3.2. The proper link should be http://docs.python.org/py3k/tutorial/.

Yes, this is really minor, but it would help with the "completeness" or "professional" appearance.
msg157020 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012-03-29 10:06
It should be easy enough to patch this to use

   http://docs.python.org/<major>.<minor>/tutorial

I think that is probably a good idea, but the doc folks should sign off on it.
msg157169 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2012-03-31 11:12
Sounds like good fix to me.
msg157199 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-31 16:11
New changeset d478c0a68bcb by R David Murray in branch '3.2':
#14434: make tutorial link in 'help' banner version-specific
http://hg.python.org/cpython/rev/d478c0a68bcb

New changeset ee9b6574b497 by R David Murray in branch 'default':
Merge #14434: make tutorial link in 'help' banner version-specific
http://hg.python.org/cpython/rev/ee9b6574b497

New changeset b3a7b27953e0 by R David Murray in branch '2.7':
#14434: make tutorial link in 'help' banner version-specific
http://hg.python.org/cpython/rev/b3a7b27953e0
msg157200 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012-03-31 16:11
Fixed.  Thanks for the report, Bill.
History
Date User Action Args
2012-03-31 16:11:57r.david.murraysetstatus: open -> closed
resolution: fixed
messages: + msg157200

stage: resolved
2012-03-31 16:11:17python-devsetnosy: + python-dev
messages: + msg157199
2012-03-31 11:12:12georg.brandlsetnosy: + georg.brandl
messages: + msg157169
2012-03-29 10:06:37r.david.murraysetnosy: + r.david.murray
versions: + Python 2.7, Python 3.3
messages: + msg157020

keywords: + easy
title: Tutorial link in "help()" in 3.2.2 -> Tutorial link in "help()" in Python3 points to Python2 tutorial
2012-03-29 05:54:05Dubslowcreate