From: Robert Bradshaw Date: Sat, 16 May 2009 04:42:57 +0000 (-0700) Subject: Builtin type method X-Git-Tag: 0.11.2.rc1~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=054826b1e53d94c1d45cc74709371caf86ec6249;p=cython.git Builtin type method --- diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index 12823aa9..57028e67 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -50,6 +50,7 @@ builtin_function_table = [ #('round', "", "", ""), ('setattr', "OOO", "r", "PyObject_SetAttr"), #('sum', "", "", ""), + ('type', "O", "O", "PyObject_Type"), #('unichr', "", "", ""), #('unicode', "", "", ""), #('vars', "", "", ""),