Skip to content

Commit fc2c044

Browse files
committed
Fix: wrong return type
1 parent 9ffef17 commit fc2c044

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/PThreadState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ static PNone doResetCaughtException(PythonThreadState threadState, String key, P
365365
}
366366

367367
@Specialization(guards = "eq(key, CUR_EXC_TYPE)")
368-
PythonClass doCurExcType(PythonThreadState threadState, @SuppressWarnings("unused") String key, Object value,
368+
Object doCurExcType(PythonThreadState threadState, @SuppressWarnings("unused") String key, Object value,
369369
@Shared("factory") @Cached PythonObjectFactory factory) {
370370
setCurrentException(getLanguage(), threadState, factory.createBaseException(value));
371371
return value;

0 commit comments

Comments
 (0)