summaryrefslogtreecommitdiff
path: root/six.py
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2012-11-29 17:35:14 -0800
committerMarc Abramowitz <marc@marc-abramowitz.com>2012-11-29 17:35:14 -0800
commitc0e0b20b24c7b33308c0314a372970a433dc1899 (patch)
tree0437c5dafca533f3c6149794a890aa4d0c84f653 /six.py
parentfd1235e27e0918bc0e582de041d48ee0c6f35c7f (diff)
downloadsix-c0e0b20b24c7b33308c0314a372970a433dc1899.tar.gz
Add license info top of six.py, making it easier for projects that
incorporate six.py to give proper attribution.
Diffstat (limited to 'six.py')
-rw-r--r--six.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/six.py b/six.py
index ddb8c2f..883a987 100644
--- a/six.py
+++ b/six.py
@@ -1,5 +1,24 @@
"""Utilities for writing code that runs on Python 2 and 3"""
+# Copyright (c) 2010-2012 Benjamin Peterson
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy of
+# this software and associated documentation files (the "Software"), to deal in
+# the Software without restriction, including without limitation the rights to
+# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+# the Software, and to permit persons to whom the Software is furnished to do so,
+# subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
import operator
import sys
import types