Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 966859c

Browse files
committed
Fix raise statement (py3)
1 parent 67ccb8a commit 966859c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/functions/piecewise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def integral(cls, self, parameters, variable, x=None, a=None, b=None, definite=F
794794
return F(b) - F(a)
795795

796796
if a != None or b != None:
797-
raise TypeError, 'only one endpoint given'
797+
raise TypeError('only one endpoint given')
798798

799799
area = 0
800800
new_pieces = []

0 commit comments

Comments
 (0)