Skip to content

Commit 6100401

Browse files
committed
PyType_IsSubtype may raise
1 parent 40bfbb6 commit 6100401

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/lib-graalpython/python_cext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ def PyObject_Repr(o):
790790
return repr(o)
791791

792792

793+
@may_raise(-1)
793794
def PyType_IsSubtype(a, b):
794795
return 1 if issubclass(a, b) else 0
795796

0 commit comments

Comments
 (0)