summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-02 18:27:09 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-02 18:27:09 (GMT)
commite37e96df064c7b019111b6f3d06fcbc8797c0514 (patch)
treee668b73191783ffacb2512bc2ccf63a377398bc5
parent0e58ff8de83db90ae4509e953dfe51bba06a18b3 (diff)
downloadcpython-e37e96df064c7b019111b6f3d06fcbc8797c0514.zip
cpython-e37e96df064c7b019111b6f3d06fcbc8797c0514.tar.gz
cpython-e37e96df064c7b019111b6f3d06fcbc8797c0514.tar.bz2
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.
-rw-r--r--Lib/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py
index dfe658a..86698df 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])