# HG changeset patch # User Oleg Oshmyan # Date 1293388619 -7200 # Node ID e0f8b28e15b58b154e08065e046347ede06abd03 # Parent 34ba0b353fc64782239c03adb59aeb9e9aad1156 Added a copyright & licensing notice about code borrowed from Python itself diff -r 34ba0b353fc6 -r e0f8b28e15b5 compat.py --- 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: