Commit db6f9896 authored by Stefan Behnel's avatar Stefan Behnel

provide 'set' builtin type in 'cython' namespace to make it available in Py2.3

parent 1f95bca1
......@@ -160,6 +160,12 @@ try:
except NameError: # Py3
py_long = int
try:
set = __builtins__.set
except AttributeError:
# Py 2.3
from sets import Set as 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