Commit 042c55d5 authored by Robert Bradshaw's avatar Robert Bradshaw

Don't have complex as a builtin type (otherwise, can't access its attributes).

parent 9be380f0
...@@ -91,7 +91,10 @@ builtin_types_table = [ ...@@ -91,7 +91,10 @@ builtin_types_table = [
("int", "PyInt_Type", []), ("int", "PyInt_Type", []),
("long", "PyLong_Type", []), ("long", "PyLong_Type", []),
("float", "PyFloat_Type", []), ("float", "PyFloat_Type", []),
("complex", "PyComplex_Type", []),
# Until we have a way to access attributes of a type,
# we don't want to make this one builtin.
# ("complex", "PyComplex_Type", []),
("bytes", "PyBytes_Type", []), ("bytes", "PyBytes_Type", []),
("str", "PyString_Type", []), ("str", "PyString_Type", []),
......
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