Skip to content

Commit 5dbc6e2

Browse files
committed
Change exception variable name from 'msg' to 'e'
1 parent 64adda5 commit 5dbc6e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/calculus/integration.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ cdef double c_monte_carlo_f(double *t, size_t dim, void *params) noexcept:
430430
value = wrapper.the_function(*wrapper.lx, *wrapper.the_parameters)
431431
else:
432432
value = wrapper.the_function(*wrapper.lx)
433-
except Exception as msg:
434-
print(msg)
433+
except Exception as e:
434+
print(e)
435435
value=0
436436

437437
sig_unblock()

0 commit comments

Comments
 (0)