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

Commit

Permalink
Fix raise syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Apr 9, 2015
1 parent 51aa68c commit 02ee3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/sageinspect.py
Expand Up @@ -1982,7 +1982,7 @@ class Element:
if pos is None:
try:
return inspect.getsourcelines(obj)
except (IOError, TypeError), err:
except (IOError, TypeError) as err:
try:
objinit = obj.__init__
except AttributeError:
Expand Down

0 comments on commit 02ee3cc

Please sign in to comment.