summaryrefslogtreecommitdiff
path: root/Lib/site.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-02 18:27:09 +0000
committerGuido van Rossum <guido@python.org>2001-10-02 18:27:09 +0000
commit45c017dc774b83ed256094110c66b3afc19728f3 (patch)
tree7eab503d5b134e395fd775b48d6ce6db6ec62aaa /Lib/site.py
parentdeb202789f3e79d38439f840c8ac8510546d1ca3 (diff)
downloadcpython-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.py2
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])