Correct the URL for the license (only used when the LICENSE[.txt] file

is not found).  Being fancy: insert the first 3 characters of
sys.version in the URL.
This commit is contained in:
Guido van Rossum 2001-10-02 18:27:09 +00:00
parent 0e58ff8de8
commit e37e96df06
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ Thanks to CWI, CNRI, BeOpen.com, Digital Creations and a cast of thousands
for supporting Python development. See www.python.org for more information.""")
here = os.path.dirname(os.__file__)
__builtin__.license = _Printer(
"license", "See http://www.pythonlabs.com/products/python2.0/license.html",
"license", "See http://www.python.org/%.3s/license.html" % sys.version,
["LICENSE.txt", "LICENSE"],
[os.path.join(here, os.pardir), here, os.curdir])