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

another fix

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