summaryrefslogtreecommitdiff
path: root/stsci/sphere/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'stsci/sphere/__init__.py')
-rw-r--r--stsci/sphere/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/stsci/sphere/__init__.py b/stsci/sphere/__init__.py
new file mode 100644
index 0000000..6a03273
--- /dev/null
+++ b/stsci/sphere/__init__.py
@@ -0,0 +1,5 @@
+import sys
+
+if sys.version_info[0] >= 3:
+ # Python 3 compatibility
+ __builtins__['xrange'] = range