diff options
author | Guido van Rossum <guido@python.org> | 2001-10-02 18:27:09 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-02 18:27:09 +0000 |
commit | 45c017dc774b83ed256094110c66b3afc19728f3 (patch) | |
tree | 7eab503d5b134e395fd775b48d6ce6db6ec62aaa /Lib/site.py | |
parent | deb202789f3e79d38439f840c8ac8510546d1ca3 (diff) | |
download | cpython-45c017dc774b83ed256094110c66b3afc19728f3.tar.gz |
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.
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py index dfe658aa32..86698df60b 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -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]) |