diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-21 01:22:51 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-21 01:22:51 +0000 |
commit | 355deb16027b509bc0475e71edc07e5feaa42dfe (patch) | |
tree | 32a59e16dccde1eefeb1264205f4c8ba39f68b07 /examples/bench/basic.py | |
parent | 511ed6d0a01f84e4a562c03fd9e546130c346ffe (diff) | |
download | external_python_mako-355deb16027b509bc0475e71edc07e5feaa42dfe.tar.gz external_python_mako-355deb16027b509bc0475e71edc07e5feaa42dfe.tar.bz2 external_python_mako-355deb16027b509bc0475e71edc07e5feaa42dfe.zip |
copyright etc
Diffstat (limited to 'examples/bench/basic.py')
-rw-r--r-- | examples/bench/basic.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/bench/basic.py b/examples/bench/basic.py index 4072692..79f21b3 100644 --- a/examples/bench/basic.py +++ b/examples/bench/basic.py @@ -1,3 +1,33 @@ +# basic.py - basic benchmarks adapted from Genshi +# Copyright (C) 2006 Edgewall Software +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. The name of the author may not be used to endorse or promote +# products derived from this software without specific prior +# written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS +# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + from cgi import escape import os from StringIO import StringIO |