Skip to content

Commit bc390dd

Browse files
authored
gh-99443: descr_set_trampoline_call return type should be int not PyObject* (#99444)
1 parent aa8b58c commit bc390dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/descrobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class property "propertyobject *" "&PyProperty_Type"
1717
// see pycore_object.h
1818
#if defined(__EMSCRIPTEN__) && defined(PY_CALL_TRAMPOLINE)
1919
#include <emscripten.h>
20-
EM_JS(PyObject*, descr_set_trampoline_call, (setter set, PyObject *obj, PyObject *value, void *closure), {
20+
EM_JS(int, descr_set_trampoline_call, (setter set, PyObject *obj, PyObject *value, void *closure), {
2121
return wasmTable.get(set)(obj, value, closure);
2222
});
2323

0 commit comments

Comments
 (0)