From 5d00dcb1a0123389d9759698a5c42828e17af9bc Mon Sep 17 00:00:00 2001 From: sienkiew Date: Tue, 25 Mar 2014 14:53:08 +0000 Subject: mod for d2to1 install git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@30670 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 91667828b7e01b5aae55679093564473a976e8a9 --- stsci/sphere/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 stsci/sphere/__init__.py (limited to 'stsci/sphere/__init__.py') 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 -- cgit