We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aca73d5 commit 194cf6aCopy full SHA for 194cf6a
python/juliacall/__init__.py
@@ -54,11 +54,11 @@ def __repr__(self):
54
55
class JuliaError(Exception):
56
"An error arising in Julia code."
57
- def __init__(self, exception, stacktrace=None):
58
- super().__init__(exception, stacktrace)
+ def __init__(self, exception, backtrace=None):
+ super().__init__(exception, backtrace)
59
def __str__(self):
60
e = self.exception
61
- b = self.stacktrace
+ b = self.backtrace
62
if b is None:
63
return Base.sprint(Base.showerror, e)
64
else:
@@ -67,7 +67,7 @@ def __str__(self):
67
def exception(self):
68
return self.args[0]
69
@property
70
- def stacktrace(self):
+ def backtrace(self):
71
return self.args[1]
72
73
CONFIG = {'inited': False}
0 commit comments