Skip to content

Commit a07c9b6

Browse files
committed
add PyClassMethod_New
1 parent 9fc435e commit a07c9b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/functionobject.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@
3737
* SOFTWARE.
3838
*/
3939
#include "capi.h"
40+
41+
PyObject* PyClassMethod_New(PyObject* method) {
42+
return UPCALL_O(PY_BUILTIN, "classmethod", native_to_java(method));
43+
}

0 commit comments

Comments
 (0)