From: Stefan Behnel Date: Fri, 12 Dec 2008 07:22:49 +0000 (+0100) Subject: export set builtin type X-Git-Tag: 0.11-beta~144 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a8f753f0025504e5218b483fb8d29d261c5ad97;p=cython.git export set builtin type --- diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index f08de217..0ae9b91a 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -352,11 +352,12 @@ def init_builtins(): init_builtin_funcs() init_builtin_types() init_builtin_structs() - global list_type, tuple_type, dict_type, unicode_type, type_type + global list_type, tuple_type, dict_type, set_type, unicode_type, type_type type_type = builtin_scope.lookup('type').type list_type = builtin_scope.lookup('list').type tuple_type = builtin_scope.lookup('tuple').type dict_type = builtin_scope.lookup('dict').type + set_type = builtin_scope.lookup('set').type unicode_type = builtin_scope.lookup('unicode').type init_builtins()