Commit 2e99b236 authored by Robert Bradshaw's avatar Robert Bradshaw

another fix

parent 0c7af76d
......@@ -190,10 +190,15 @@ py_complex = complex
try:
set
except NameError:
# Python 2.3
from sets import Set as set, ImmutableSet as frozenset
# Python 3
from builtins import set, frozenset
except ImportError:
try:
# Python 2.4+
from __builtin__ import set, frozenset
except ImportError:
# Py 2.3
from sets import Set as set, ImmutableSet as frozenset
# Predefined types
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment