Browse Source

Raise ImportError when using python 2.x

refactoring
Matthias Volk 7 years ago
parent
commit
da81f6cf1a
  1. 5
      lib/stormpy/__init__.py

5
lib/stormpy/__init__.py

@ -1,3 +1,8 @@
import sys
if sys.version_info[0] == 2:
raise ImportError('Python 2.x is not supported for stormpy.')
from . import core
from .core import *
from . import storage

Loading…
Cancel
Save