Skip to content

Commit 65e2a79

Browse files
author
Christopher Doris
committed
bugfix: exceptions should always inherit from Exception
1 parent edbe89c commit 65e2a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpython/juliaerror.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PyExc_JuliaError() = begin
77
PyType_Create(
88
c,
99
name = "juliacall.Error",
10-
base = PyExc_BaseException(),
10+
base = PyExc_Exception(),
1111
str = pyjlerr_str,
1212
),
1313
)

0 commit comments

Comments
 (0)