[Arch] remove unneeded checks for Python 3

since we only support Python >=3, these checks can go
This commit is contained in:
Uwe
2022-07-31 05:35:58 +02:00
parent 9884073276
commit 04570f81cc
10 changed files with 18 additions and 77 deletions

View File

@@ -21,8 +21,7 @@ import sys, struct
import numpy
# xrange is not available in python3
if sys.version_info.major >= 3:
xrange = range
xrange = range
# Exceptions

View File

@@ -7,11 +7,9 @@ Defines some routines for calculating normals and transforming points.
"""
import numpy
import sys
# xrange is not available in python3
if sys.version_info.major >= 3:
xrange = range
xrange = range
# Can push numpy.float64 (or even numpy.float80) into this if you
# would like to use higher precision when calculating; results will be