mirror of
https://github.com/python/cpython
synced 2024-10-06 23:34:50 +00:00
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:
parent
0e58ff8de8
commit
e37e96df06
|
@ -267,7 +267,7 @@ def __call__(self):
|
|||
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])
|
||||
|
||||
|
|
Loading…
Reference in a new issue