Commit d81e97e9 authored by Stefan Behnel's avatar Stefan Behnel

fix for cython.set in Py3 (again)

parent 3ace2e41
......@@ -161,18 +161,14 @@ except NameError: # Py3
py_long = int
try:
import __builtin__
try:
from __builtin__ import set
except AttributeError:
# Py 2.3
from sets import Set as set
except ImportError:
# Python 3
import builtins as __builtin__
try:
set = __builtin__.set
except AttributeError:
# Py 2.3
from sets import Set as set
del __builtin__
from builtins import set
# 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