#18206: Re-fix license URL.

This commit is contained in:
R David Murray 2013-09-14 13:31:44 -04:00
parent f11caa0bba
commit 692ee9eaf0

View File

@ -362,7 +362,8 @@ def setcopyright():
for supporting Python development. See www.python.org for more information.""")
here = os.path.dirname(os.__file__)
builtins.license = _sitebuiltins._Printer(
"license", "See http://www.python.org/%.3s/license.html" % sys.version,
"license",
"See http://www.python.org/download/releases/%.5s/license" % sys.version,
["LICENSE.txt", "LICENSE"],
[os.path.join(here, os.pardir), here, os.curdir])