Builtin type method
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 16 May 2009 04:42:57 +0000 (21:42 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 16 May 2009 04:42:57 +0000 (21:42 -0700)
Cython/Compiler/Builtin.py

index 12823aa9af20a2633a8ee3e24ea04ff2e7576e9e..57028e671311d926d1db643ed131bb6ffaa24a3d 100644 (file)
@@ -50,6 +50,7 @@ builtin_function_table = [
     #('round',     "",     "",      ""),
     ('setattr',    "OOO",  "r",     "PyObject_SetAttr"),
     #('sum',       "",     "",      ""),
+    ('type',       "O",    "O",     "PyObject_Type"),
     #('unichr',    "",     "",      ""),
     #('unicode',   "",     "",      ""),
     #('vars',      "",     "",      ""),