Mercurial > ~astiob > upreckon > hgweb
changeset 67:e0f8b28e15b5
Added a copyright & licensing notice about code borrowed from Python itself
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Sun, 26 Dec 2010 20:36:59 +0200 |
parents | 34ba0b353fc6 |
children | e00ab6d1f0ba |
files | compat.py |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/compat.py Wed Dec 22 22:30:05 2010 +0200 +++ b/compat.py Sun Dec 26 20:36:59 2010 +0200 @@ -25,6 +25,19 @@ # with Python 2 and not usable conditionally via exec() and such # because it is a detail of the syntax of the class statement itself. +# Some code was adapted from Python 2.7.1 and its documentation. +# This code is clearly marked as such in preceding comments and is +# covered by copyright as follows: +# +# Copyright (c) 2001-2010 Python Software Foundation; all rights reserved. +# +# The code is used according to the PSF License Agreement +# for Python 2.7.1, whose full text is available from your local +# installation of Python (enter 'license()' in the interactive +# interpreter) or from the Web at the following URL: +# +# http://docs.python.org/2.7.1/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python + try: import builtins except ImportError: