mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 11:24:19 +00:00
Drop support for Python 2.
This commit is contained in:
@@ -17,20 +17,12 @@
|
||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
|
||||
import random
|
||||
import operator
|
||||
import warnings
|
||||
|
||||
from collections import namedtuple
|
||||
|
||||
try: # python 3.3+
|
||||
from collections.abc import Iterable
|
||||
except ImportError: # python 2
|
||||
from collections import Iterable
|
||||
from collections.abc import Iterable
|
||||
|
||||
import OCC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user