Commit 3ace2e41 authored by Stefan Behnel's avatar Stefan Behnel

fix for cython.set in Py3

parent 075e2829
......@@ -161,11 +161,18 @@ except NameError: # Py3
py_long = int
try:
set = __builtins__.set
import __builtin__
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__
# 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