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

another fix

parent 0c7af76d
...@@ -190,9 +190,14 @@ py_complex = complex ...@@ -190,9 +190,14 @@ py_complex = complex
try: try:
set # Python 3
except NameError: from builtins import set, frozenset
# Python 2.3 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 from sets import Set as set, ImmutableSet as frozenset
# Predefined types # 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