Skip to content

Commit 9c7397f

Browse files
committed
Fix return from PyException_SetTraceback
1 parent 7d08769 commit 9c7397f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/cext/PythonCextErrBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ abstract static class PyException_SetTraceback extends CApiBinaryBuiltinNode {
631631
Object setTraceback(Object exc, Object traceback,
632632
@Cached PyObjectSetAttr setAttrNode) {
633633
setAttrNode.execute(exc, T___TRACEBACK__, traceback);
634-
return PNone.NONE;
634+
return 0;
635635
}
636636
}
637637
}

0 commit comments

Comments
 (0)